/* Account & Auth Pages Styles - Word 2016 Professional Theme */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    padding: 32px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: relative;
}

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

.auth-title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 4px;
    color: #000000;
    letter-spacing: 0;
}

.auth-subtitle {
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 400;
    font-size: 12px;
    color: #000000;
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    font-size: 14px;
    transition: border-color 0.15s ease;
    background: #ffffff;
    color: #000000;
    font-family: inherit;
    height: 22px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: inset 0 0 0 1px #0078d4;
    background: #ffffff;
}

.form-help {
    font-size: 11px;
    color: #666666;
    margin-top: 2px;
    font-style: normal;
}

.form-error {
    font-size: 11px;
    color: #c42b1c;
    margin-top: 2px;
    font-weight: 400;
}

.form-actions {
    margin-top: 24px;
}

.form-actions button {
    width: 100%;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: #000000;
    height: 32px;
}

.form-actions button:hover {
    background: #e6e6e6;
    border-color: #adadad;
    transform: none;
    box-shadow: none;
}

.form-actions button:active {
    background: #cccccc;
    border-color: #adadad;
    transform: none;
}

.form-actions button:disabled {
    background: #f3f2f1;
    color: #a19f9d;
    border-color: #edebe9;
    opacity: 1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: #666666;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #c7c7c7;
}

.form-divider span {
    padding: 0 12px;
    font-size: 11px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #c7c7c7;
}

.auth-footer p {
    margin-bottom: 6px;
    color: #666666;
    font-size: 12px;
}

.auth-footer a {
    color: #0078d4;
    font-weight: 400;
    text-decoration: none;
    font-size: 12px;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: #106ebe;
}

/* Account Profile Page */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: 0.75rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.profile-info h1 {
    margin-bottom: 0.25rem;
}

.profile-info p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.profile-sections {
    display: grid;
    gap: 2rem;
}

.profile-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
}

.profile-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.profile-field {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.profile-field label {
    font-weight: 600;
    color: var(--muted);
}

.profile-field p {
    margin: 0;
}

@media (max-width: 600px) {
    .auth-container {
        padding: 16px;
        background: #f0f0f0;
    }

    .auth-card {
        border: 1px solid #c7c7c7;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        background: #ffffff;
        padding: 24px 20px;
        max-width: none;
    }

    .auth-title {
        font-size: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        height: 24px;
    }

    .form-actions button {
        padding: 12px 20px;
        font-size: 14px;
        height: 36px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .profile-field {
        grid-template-columns: 1fr;
    }
}