* {
    box-sizing: border-box;
}


body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );

    color: white;

    display: flex;
    justify-content: center;
    align-items: center;
}


.container {
    width: 90%;
    max-width: 750px;

    padding: 30px 0;
}


/* Header */

.header {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 25px;
}


.logo {
    font-size: 55px;
}


.header h1 {
    margin: 0;

    font-size: 30px;
}


.header p {
    margin-top: 8px;

    color: #cbd5e1;

    font-size: 15px;
}


/* Main card */

.card {

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 18px;

    padding: 30px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3);
}


.card label {

    display: block;

    font-size: 17px;

    font-weight: bold;

    margin-bottom: 10px;
}


textarea {

    width: 100%;

    height: 150px;

    resize: vertical;

    padding: 15px;

    border-radius: 12px;

    border: 1px solid #475569;

    background: #0f172a;

    color: white;

    font-size: 16px;

    outline: none;
}


textarea:focus {

    border-color: #a855f7;

}


textarea::placeholder {

    color: #94a3b8;

}


/* Button */

button {

    width: 100%;

    margin-top: 18px;

    padding: 14px;

    border: none;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #7c3aed,
            #a855f7
        );

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}


button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(168, 85, 247, 0.35);
}


button:disabled {

    opacity: 0.5;

    cursor: not-allowed;

    transform: none;

}


/* Status */

#status {

    text-align: center;

    color: #cbd5e1;

    margin-top: 18px;

}


/* Result */

.result {

    margin-top: 25px;

    padding: 20px;

    border-radius: 14px;

    background: rgba(0, 0, 0, 0.25);

}


.result h2 {

    margin-top: 0;

    font-size: 20px;

}


.prediction {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


#label {

    font-size: 28px;

    font-weight: bold;

}


#score {

    color: #cbd5e1;

    font-size: 16px;

}


.hidden {

    display: none;

}


/* Footer */

.info {

    margin-top: 20px;

    text-align: center;

    color: #94a3b8;

    font-size: 13px;

}


.info strong {

    color: #c4b5fd;

}

