/* ============================================================
   ACCOUNT.CSS — Account Settings & User Profile styles
   ============================================================ */

/* ===== ACCOUNT SETTINGS ===== */
.settings-section {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.settings-section h2 {
    margin: 0 0 10px;
    font-size: 20px;
    color: var(--text-primary);
}

.section-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 150px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 500;
}

.info-note {
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
    margin-left: auto;
}

.settings-form { margin-top: 20px; }

.form-hint {
    display: block;
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}

.password-requirements {
    background: var(--color-blue-bg);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--color-blue-text);
}

.password-requirements ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.password-requirements li { margin: 5px 0; }

.danger-zone {
    border: 2px solid var(--color-error);
}

.danger-zone h2 { color: var(--color-error); }

/* ===== USER PROFILE ===== */
.profile-container {
    max-width: 900px;
    margin: 30px auto;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.profile-avatar { flex-shrink: 0; }

.profile-avatar img {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid var(--border-color);
}

.default-avatar {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--text-inverse);
    font-weight: bold;
}

.profile-info h1 { margin: 0 0 15px; font-size: 32px; color: var(--text-primary); }

.profile-meta { display: flex; flex-direction: column; gap: 8px; }

.meta-item { display: flex; gap: 10px; }

.meta-label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 100px;
}

.meta-value { color: var(--text-primary); }

.profile-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.profile-bio {
    background: var(--bg-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
}

.bio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bio-header h2 { margin: 0; font-size: 20px; color: var(--text-primary); }

.bio-content { line-height: 1.6; color: var(--text-secondary); }

.bio-editor textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
    background: var(--bg-surface);
    color: var(--text-primary);
}

.bio-editor-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.bio-preview {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.bio-preview h4 { margin: 0 0 10px; font-size: 14px; color: var(--text-muted); }

.text-muted { color: var(--text-muted); }
