* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;

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

    color: white;

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

    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 850px;
}

/* Header */

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.header p {
    color: #cacdd0;
    font-size: 17px;
}


/* Main card */

.card {
    background: rgba(255, 255, 255, 0.08);

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

    backdrop-filter: blur(12px);

    border-radius: 18px;

    padding: 30px;

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


/* Label */

label {
    display: block;

    font-size: 16px;
    font-weight: bold;

    margin-bottom: 10px;
}


/* Email input */

textarea {
    width: 100%;
    height: 260px;

    padding: 18px;

    background: rgba(15, 23, 42, 0.8);

    color: white;

    border: 1px solid #334155;

    border-radius: 12px;

    font-size: 16px;

    font-family: Arial, sans-serif;

    resize: vertical;

    outline: none;

    transition: 0.3s;
}

textarea::placeholder {
    color: #64748b;
}

textarea:focus {
    border-color: #60a5fa;

    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}


/* Button */

button {
    width: 100%;

    margin-top: 20px;

    padding: 14px;

    border: none;

    border-radius: 10px;

    background: #3b82f6;

    color: white;

    font-size: 17px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    background: #2563eb;

    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}


/* Result */

#result {
    display: none;
    margin-top: 25px;

    padding: 25px;

    border-radius: 14px;

    background: rgba(15, 23, 42, 0.7);

    border: 1px solid #334155;

    text-align: center;

    min-height: 80px;
}


/* Result heading */

.result-title {
    font-size: 18px;

    color: #94a3b8;

    margin-bottom: 8px;
}


/* Prediction */

.prediction {
    font-size: 30px;

    font-weight: bold;

    margin-bottom: 8px;
}


/* Probability */

.probability {
    font-size: 16px;

    color: #cbd5e1;
}


/* Footer */

.footer {
    text-align: center;

    margin-top: 20px;

    color: #64748b;

    font-size: 13px;
}


/* Mobile */

@media (max-width: 700px) {

    .header h1 {
        font-size: 32px;
    }

    .card {
        padding: 20px;
    }

    textarea {
        height: 220px;
    }
}