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

body {
    min-height: 100vh;

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

    background: #0f172a;

    font-family: Arial, sans-serif;

    padding: 20px;
}

.container {
    width: 100%;
    max-width: 700px;

    background: #1e293b;

    padding: 35px;

    border-radius: 20px;

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

h1 {
    color: white;

    text-align: center;

    margin-bottom: 10px;

    font-size: 32px;
}

.subtitle {
    color: #94a3b8;

    text-align: center;

    margin-bottom: 30px;

    font-size: 17px;
}

label {
    display: block;

    color: white;

    margin-bottom: 8px;

    font-weight: bold;

    font-size: 16px;
}

input,
textarea {
    width: 100%;

    background: #0f172a;

    color: white;

    border: 1px solid #475569;

    border-radius: 10px;

    padding: 14px;

    font-size: 16px;

    margin-bottom: 20px;

    outline: none;
}

input {
    height: 50px;
}

textarea {
    min-height: 130px;

    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: #3b82f6;
}

button {
    width: 100%;

    padding: 16px;

    border: none;

    border-radius: 10px;

    background: #2563eb;

    color: white;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

button:hover {
    background: #1d4ed8;
}

button:disabled {
    background: #64748b;

    cursor: not-allowed;
}

.loading {
    display: none;

    text-align: center;

    color: #60a5fa;

    margin-top: 20px;

    font-size: 16px;
}

.answer-box {
    margin-top: 25px;

    background: #0f172a;

    border-radius: 12px;

    padding: 20px;

    border: 1px solid #334155;

    min-height: 150px;
}

.answer-box h2 {
    color: white;

    margin-bottom: 15px;

    font-size: 22px;
}

#answer {
    color: #cbd5e1;

    line-height: 1.7;

    white-space: pre-wrap;

    font-size: 16px;
}