/* ============================================
   PROFILE.CSS — İstifadəçi paneli
   ============================================ */

.profile-page {
    background: var(--bg-soft);
    min-height: calc(100vh - 80px);
    padding: 32px 0 64px;
}

.profile-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

/* ============================================
   SOL SİDEBAR
   ============================================ */
.profile-sidebar {
    position: sticky;
    top: 96px;
}

.profile-user-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    margin-bottom: 14px;
}

.user-monogram {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 12px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
}

.user-monogram-lg {
    width: 96px;
    height: 96px;
    font-size: 36px;
    margin: 0 auto 16px;
}

.user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 4px;
    letter-spacing: -0.2px;
}

.user-phone-display {
    font-size: 13px;
    color: var(--ink-mute);
    font-weight: 500;
}

/* Menyu */
.profile-nav {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

.profile-nav-item svg {
    flex-shrink: 0;
    color: var(--ink-mute);
    transition: color 0.15s;
}

.profile-nav-item > span:not(.nav-badge) {
    flex: 1;
}

.profile-nav-item:hover {
    background: var(--bg-soft);
    color: var(--accent);
}

.profile-nav-item:hover svg {
    color: var(--accent);
}

.profile-nav-item.active {
    background: rgba(10, 102, 194, 0.1);
    color: var(--accent);
    font-weight: 600;
}

.profile-nav-item.active svg {
    color: var(--accent);
}

.nav-badge {
    background: var(--bg-soft);
    color: var(--ink-mute);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    min-width: 22px;
    text-align: center;
}

.profile-nav-item.active .nav-badge {
    background: var(--accent);
    color: white;
}

.nav-badge-red {
    background: #d93025 !important;
    color: white !important;
}

.profile-nav-divider {
    height: 1px;
    background: var(--line);
    margin: 6px 4px;
}

.profile-nav-logout {
    color: #d93025 !important;
}
.profile-nav-logout svg {
    color: #d93025 !important;
}
.profile-nav-logout:hover {
    background: rgba(217, 48, 37, 0.08) !important;
}

/* ============================================
   SAĞ KONTENT
   ============================================ */
.profile-content {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    min-height: 600px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.tab-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.3px;
}

.tab-subtitle {
    font-size: 13px;
    color: var(--ink-mute);
}

.btn-sm {
    padding: 8px 14px !important;
    font-size: 13px !important;
}

/* ============================================
   SUB-TABS (Aktiv / Gözləyən / Bitmiş)
   ============================================ */
.sub-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-soft);
    border-radius: 10px;
    margin-bottom: 20px;
    width: fit-content;
}

.sub-tab {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-mute);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.sub-tab:hover {
    color: var(--ink);
}

.sub-tab.active {
    background: var(--bg);
    color: var(--accent);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sub-tab-count {
    background: rgba(10, 102, 194, 0.1);
    color: var(--accent);
    padding: 1px 7px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

.sub-tab.active .sub-tab-count {
    background: var(--accent);
    color: white;
}

/* ============================================
   MƏNİM ELANLARIM — kartlar
   ============================================ */
.my-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.my-listing-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, box-shadow 0.15s;
}

.my-listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.mlc-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-soft);
}

.mlc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlc-vip-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5a3000;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
}

.fav-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    color: #d93025;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s;
}

.fav-remove-btn:hover {
    transform: scale(1.08);
}

.mlc-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mlc-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mlc-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.3px;
    margin: 4px 0 2px;
}

.mlc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--ink-mute);
    margin-bottom: 8px;
}

.mlc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mlc-actions {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.mlc-btn {
    flex: 1;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: inherit;
}

.mlc-btn-up {
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.1), rgba(10, 102, 194, 0.05));
    color: var(--accent);
    border-color: rgba(10, 102, 194, 0.2);
}

.mlc-btn-up:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.mlc-btn-edit:hover {
    background: rgba(10, 102, 194, 0.08);
    border-color: var(--accent);
    color: var(--accent);
}

.mlc-btn-delete {
    flex: 0 0 36px;
    padding: 7px;
}

.mlc-btn-delete:hover {
    background: #fee;
    border-color: #d93025;
    color: #d93025;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--ink-mute);
}

.empty-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
}

.empty-state p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFA500, #FF6347);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ============================================
   STATİSTİKA
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.stat-icon-blue { background: rgba(10, 102, 194, 0.1); color: var(--accent); }
.stat-icon-green { background: rgba(5, 118, 66, 0.1); color: var(--green); }
.stat-icon-pink { background: rgba(217, 48, 37, 0.1); color: #d93025; }
.stat-icon-orange { background: rgba(255, 138, 0, 0.1); color: #ff8a00; }

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12.5px;
    color: var(--ink-mute);
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-trend {
    font-size: 11.5px;
    color: var(--ink-mute);
}

.stat-trend-up {
    color: var(--green);
    font-weight: 600;
}

/* Top elanlar */
.stats-section {
    margin-top: 20px;
}

.stats-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 14px;
}

.top-listings {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.top-listing-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg-soft);
    border-radius: 10px;
    transition: background 0.15s;
}

.top-listing-row:hover {
    background: rgba(10, 102, 194, 0.06);
}

.top-rank {
    font-size: 16px;
    font-weight: 800;
    color: var(--accent);
    width: 36px;
    text-align: center;
}

.top-listing-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.top-listing-info {
    flex: 1;
    min-width: 0;
}

.top-listing-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-listing-price {
    font-size: 13px;
    color: var(--accent);
    font-weight: 700;
}

.top-listing-views {
    text-align: right;
    flex-shrink: 0;
}

.top-listing-views strong {
    display: block;
    font-size: 16px;
    color: var(--ink);
    font-weight: 800;
    line-height: 1;
}

.top-listing-views span {
    font-size: 11px;
    color: var(--ink-mute);
}

/* ============================================
   PROFİL FORMU
   ============================================ */
.profile-form {
    max-width: 480px;
}

.profile-monogram-section {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.monogram-hint {
    font-size: 12.5px;
    color: var(--ink-mute);
    margin-top: 8px;
}

.profile-form .field {
    margin-bottom: 16px;
}

.profile-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-mute);
    margin-bottom: 6px;
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

.profile-form input[readonly] {
    background: var(--bg-soft);
    color: var(--ink-mute);
    cursor: not-allowed;
}

.field-hint {
    font-size: 11.5px;
    color: var(--ink-mute);
    margin-top: 4px;
}

/* ============================================
   HESAB TİPİ SWITCH (Şəxsi / Şirkət)
   ============================================ */
.account-type-switch {
    margin-bottom: 24px;
}

.account-switch-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-mute);
    margin-bottom: 10px;
}

.account-switch-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.account-switch-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border: 2px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: left;
    font-family: inherit;
    color: var(--ink);
}

.account-switch-btn svg {
    flex-shrink: 0;
    color: var(--ink-mute);
    transition: color 0.15s;
}

.account-switch-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.account-switch-text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.account-switch-text span {
    font-size: 12px;
    color: var(--ink-mute);
}

.account-switch-btn:hover {
    border-color: rgba(10, 102, 194, 0.3);
    background: rgba(10, 102, 194, 0.03);
}

.account-switch-btn.active {
    border-color: var(--accent);
    background: rgba(10, 102, 194, 0.08);
}

.account-switch-btn.active svg {
    color: var(--accent);
}

.account-switch-btn.active .account-switch-text strong {
    color: var(--accent);
}

/* ============================================
   ŞİRKƏT FORMU
   ============================================ */
.company-form {
    max-width: 640px;
}

.company-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.company-form .field-row .field {
    margin-bottom: 0;
}

.company-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.company-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.1);
}

/* Logo yükləmə */
.company-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: 12px;
    border: 1px solid var(--line);
    margin-bottom: 24px;
}

.company-logo-preview {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    background: var(--bg);
    border: 2px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.company-logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--ink-mute);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.company-logo-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.company-logo-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.company-logo-hint {
    font-size: 11.5px;
    color: var(--ink-mute);
    margin-top: 2px;
}

.btn-link {
    background: none;
    border: none;
    color: #d93025;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    text-decoration: underline;
    font-family: inherit;
}

.btn-link:hover {
    color: #b1271d;
}

/* VOEN verification banner */
.company-verification {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(5, 118, 66, 0.06), rgba(5, 118, 66, 0.02));
    border: 1px solid rgba(5, 118, 66, 0.2);
    border-radius: 12px;
    margin: 20px 0;
}

.company-verification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(5, 118, 66, 0.12);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-verification-body strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--green);
    display: block;
    margin-bottom: 4px;
}

.company-verification-body p {
    font-size: 12.5px;
    color: var(--ink-mute);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    .account-switch-tabs {
        grid-template-columns: 1fr;
    }
    .company-form .field-row {
        grid-template-columns: 1fr;
    }
    .company-logo-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   SETTINGS — section, toggle, theme
   ============================================ */
.settings-section {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.settings-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 6px;
}

.settings-desc {
    font-size: 13px;
    color: var(--ink-mute);
    margin: 0 0 12px;
    line-height: 1.5;
}

.settings-current {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--line);
}

.settings-current-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ink-mute);
    letter-spacing: 0.4px;
}

.settings-current-value {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.settings-select {
    width: 100%;
    max-width: 280px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

/* Toggle */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.toggle-row:last-child {
    border-bottom: none;
}

.toggle-info {
    flex: 1;
}

.toggle-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.toggle-desc {
    font-size: 12.5px;
    color: var(--ink-mute);
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 100px;
    transition: background 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* Theme switcher */
.theme-options {
    display: flex;
    gap: 12px;
}

.theme-option {
    cursor: pointer;
}

.theme-option input {
    display: none;
}

.theme-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.15s;
}

.theme-option input:checked + .theme-card {
    border-color: var(--accent);
    background: rgba(10, 102, 194, 0.05);
    color: var(--accent);
}

/* Danger zone */
.settings-danger {
    background: rgba(217, 48, 37, 0.04);
    border-color: rgba(217, 48, 37, 0.2);
}

.settings-danger .settings-section-title {
    color: #d93025;
}

.btn-danger {
    background: #d93025;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}

.btn-danger:hover {
    background: #b1271d;
}

@keyframes fadeOut {
    to { opacity: 0; transform: scale(0.95); }
}

/* ============================================
   MOBİL
   ============================================ */
/* ============================================
   MOBİL HEADER + BOTTOM BAR (yeni)
   ============================================ */

/* Mobil-də profil header (greeting + avatar + logout) — desktop-da gizli */
.profile-mobile-header {
    display: none;
    align-items: center;
    gap: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    grid-column: 1 / -1;
}
.pmh-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(10, 102, 194, 0.25);
}
.pmh-info { flex: 1; min-width: 0; }
.pmh-greet {
    font-size: 12px;
    color: var(--ink-mute);
    font-weight: 500;
}
.pmh-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pmh-logout-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    color: var(--ink-mute);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.pmh-logout-btn:hover {
    background: #fee;
    color: #d93025;
}


/* ============================================
   MOBİL RESPONSIVE (yeni)
   ============================================ */

/* === Tablet (≤900px): sidebar gizli olur, mobil header görünür === */
@media (max-width: 900px) {
    .profile-page {
        padding: 16px 0 88px; /* bottom bar yer */
    }

    .profile-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Sidebar gizlət — bottom bar var */
    .profile-sidebar {
        display: none;
    }

    /* Mobil greeting göstər */
    .profile-mobile-header {
        display: flex;
    }

    .profile-content {
        padding: 16px;
        border-radius: 12px;
    }

    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 14px;
        margin-bottom: 14px;
    }
    .tab-header h2 {
        font-size: 18px;
    }
    .tab-subtitle {
        font-size: 13px;
    }

    /* Sub-tabs scroll */
    .sub-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 6px;
        margin: 0 -16px 14px;
        padding: 0 16px 4px;
        scrollbar-width: none;
    }
    .sub-tabs::-webkit-scrollbar { display: none; }
    .sub-tab {
        flex-shrink: 0;
        padding: 7px 14px;
        font-size: 12.5px;
    }

    .my-listings-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

/* === Mobil (≤700px) === */
@media (max-width: 700px) {
    .profile-page {
        padding: 14px 0 86px;
    }

    .profile-content {
        padding: 14px;
    }

    /* Profile məlumatları (şəxsi/şirkət switch) */
    .account-type-switch {
        flex-direction: column;
        gap: 8px;
    }
    .ats-option {
        width: 100%;
    }

    /* Form sahələr 1 sütun */
    .form-grid,
    .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
        font-size: 16px !important; /* iOS zoom-u qarşısı */
    }

    /* Activity sahə tipləri grid */
    .activity-types-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Şirkət təsdiqi banner */
    .company-verify-banner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 14px;
    }

    /* Stats */
    .stat-card {
        padding: 14px;
    }
    .stat-value {
        font-size: 24px;
    }

    /* Mənim elanlarım kart */
    .mlc-image {
        width: 100px;
        height: 84px;
    }
    .mlc-title {
        font-size: 14px;
    }
    .mlc-price {
        font-size: 15px;
    }
    .mlc-actions {
        gap: 4px;
    }
    .mlc-action {
        padding: 5px 9px;
        font-size: 11.5px;
    }

    /* Settings switch */
    .settings-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Bildirişlər */
    .notif-item {
        padding: 12px;
    }
    .notif-title {
        font-size: 13.5px;
    }

    /* Mesajlar */
    .message-card {
        padding: 12px;
    }
}

/* === Kiçik mobil (≤480px) === */
@media (max-width: 480px) {
    .profile-page {
        padding: 10px 0 84px;
    }

    .profile-content {
        padding: 12px;
        border-radius: 10px;
    }

    .profile-mobile-header {
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    .pmh-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .pmh-name {
        font-size: 14px;
    }

    .tab-header h2 {
        font-size: 17px;
    }

    /* Stats 1 sütun */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Activity types kiçilir */
    .activity-types-grid {
        grid-template-columns: 1fr;
    }

    /* Sub-tab daha kompakt */
    .sub-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    .sub-tab-count {
        font-size: 10.5px;
        padding: 0 6px;
    }

    /* MLC list mobil-də vertikal */
    .my-listing-card {
        flex-direction: column;
    }
    .mlc-image {
        width: 100%;
        height: 160px;
        border-radius: 10px 10px 0 0;
    }
    .mlc-body {
        width: 100%;
    }

    /* Şirkət avatar mobil-də */
    .company-logo-preview {
        width: 80px;
        height: 80px;
    }
}

/* === Dark mode tweaks === */
[data-theme="dark"] .profile-mobile-header {
    background: var(--bg-card);
}

/* ============================================
   HİBRİD UX — MOBİL OVERVIEW + ALT-SƏHİFƏ
   ============================================ */

/* DESKTOP-da yeni komponentlər tamamilə gizli */
.profile-mobile-overview,
.profile-detail-header {
    display: none;
}

/* === MOBİL OVERVIEW (≤900px və alt-səhifə YOX) === */
@media (max-width: 900px) {
    /* Overview mode-da əsas content gizli, yalnız mobil overview görsənsin */
    .profile-page.profile-overview .profile-sidebar,
    .profile-page.profile-overview .profile-content,
    .profile-page.profile-overview .profile-mobile-header {
        display: none !important;
    }
    .profile-page.profile-overview .profile-mobile-overview {
        display: block;
    }

    /* Detail mode-da əsas conent görsənsin, overview gizli */
    .profile-page.profile-detail .profile-mobile-overview {
        display: none;
    }
    .profile-page.profile-detail .profile-detail-header {
        display: flex;
    }
    .profile-page.profile-detail .profile-mobile-header {
        display: none !important;
    }
    .profile-page.profile-detail .profile-sidebar {
        display: none !important;
    }
    .profile-page.profile-detail .profile-content {
        display: block;
    }
}

/* === Profil overview - mobil === */
.profile-mobile-overview {
    padding: 4px 0 24px;
}

/* User card */
.pmo-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 16px;
    padding: 20px 18px;
    color: white;
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.25);
    margin-bottom: 18px;
}
.pmo-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}
.pmo-info {
    flex: 1;
    min-width: 0;
}
.pmo-greet {
    font-size: 12.5px;
    opacity: 0.85;
    margin-bottom: 2px;
}
.pmo-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pmo-meta {
    font-size: 12px;
    opacity: 0.85;
}

/* Statistika kartları */
.pmo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}
.pmo-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.15s, box-shadow 0.15s;
    display: block;
}
.pmo-stat-card:active {
    transform: scale(0.97);
}
.pmo-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}
.pmo-stat-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 2px;
}
.pmo-stat-label {
    font-size: 11.5px;
    color: var(--ink-mute);
    font-weight: 600;
}

/* Bölmə başlığı */
.pmo-section-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 18px 4px 10px;
}

/* Liste (Booking tərzi) */
.pmo-list {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.pmo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    text-decoration: none;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transition: background 0.15s;
}
.pmo-item:last-child {
    border-bottom: none;
}
.pmo-item:active {
    background: rgba(10, 102, 194, 0.05);
}
.pmo-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(10, 102, 194, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pmo-item-body {
    flex: 1;
    min-width: 0;
}
.pmo-item-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}
.pmo-item-sub {
    font-size: 12px;
    color: var(--ink-mute);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pmo-item-badge {
    background: rgba(10, 102, 194, 0.1);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}
.pmo-badge-alert {
    background: #e91e63;
    color: white;
}
.pmo-item-arrow {
    color: var(--ink-mute);
    opacity: 0.5;
    flex-shrink: 0;
}

/* Çıxış düyməsi */
.pmo-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: 1px solid var(--line);
    color: #d93025;
    padding: 14px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
    font-family: inherit;
    transition: background 0.15s;
}
.pmo-logout-btn:active {
    background: rgba(217, 48, 37, 0.08);
}

/* === Alt-səhifə header (geri düyməsi) === */
.profile-detail-header {
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 4px 0;
}
.pdh-back-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.pdh-back-btn:active {
    transform: scale(0.93);
    background: rgba(10, 102, 194, 0.08);
}
.pdh-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === Dark mode === */
[data-theme="dark"] .pmo-stat-card,
[data-theme="dark"] .pmo-list,
[data-theme="dark"] .pdh-back-btn {
    background: var(--bg-card);
}
[data-theme="dark"] .pmo-item-icon {
    background: rgba(10, 102, 194, 0.18);
}
[data-theme="dark"] .pmo-item-badge {
    background: rgba(10, 102, 194, 0.2);
}




.mlc-btn-edit {
    color: var(--accent);
    border-color: rgba(10, 102, 194, 0.3) !important;
}
.mlc-btn-edit:hover {
    background: rgba(10, 102, 194, 0.08) !important;
    border-color: var(--accent) !important;
}