/* Authentication Pages Styles */

.auth-section {
    padding: 2rem 1rem;
    max-width: 500px;
    margin: 0 auto;
    min-height: 60vh;
}

.auth-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

.auth-title {
    font-size: 1.6rem;
    color: #032157;
    margin-bottom: 0.3rem;
    text-align: center;
}

.auth-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.form-group .required {
    color: #e53935;
}

.form-group .optional {
    color: #999;
    font-weight: 400;
    font-size: 0.8rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e7ef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #19ddf3;
}

.form-group input.input-error {
    border-color: #e53935;
}

.form-group input.input-success {
    border-color: #43a047;
}

/* Field Errors */
.field-error {
    font-size: 0.8rem;
    color: #e53935;
    min-height: 1rem;
}

/* Password Requirements */
.password-requirements {
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
}

.password-requirements li {
    font-size: 0.75rem;
    color: #999;
    position: relative;
    padding-left: 1.2rem;
}

.password-requirements li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: #ccc;
}

.password-requirements li.met {
    color: #43a047;
}

.password-requirements li.met::before {
    content: '●';
    color: #43a047;
}

/* Form Message */
.form-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-message.error {
    display: block;
    background: #fdecea;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

/* Auth Button */
.btn-auth {
    background: #032157;
    color: #e6ffff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    margin-top: 0.5rem;
    width: 100%;
}

.btn-auth:hover {
    background: #0a3a7e;
    transform: translateY(-1px);
}

.btn-auth:active {
    transform: translateY(0);
}

.btn-auth:disabled {
    background: #90a4ae;
    cursor: not-allowed;
    transform: none;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.auth-footer a {
    color: #19ddf3;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .auth-container {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.4rem;
    }

    .password-requirements {
        flex-direction: column;
        gap: 0.2rem;
    }
}


/* Profile Page */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-field {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f4f8;
}

.profile-field:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-value {
    font-size: 1.05rem;
    color: #333;
}
