* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 480px;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.3rem;
}

input, textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.2s;
    outline: none;
}

input:focus, textarea:focus {
    border-color: #4299e1;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover:not(:disabled) {
    background: #2b6cb0;
}

/* FIX 2: Disabled state styling */
button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.message.success {
    background: #c6f6d5;
    color: #276749;
    display: block;
}

.message.error {
    background: #fed7d7;
    color: #9b2c2c;
    display: block;
}
