    /* ═══════════════════════════════════════════════════════════════════════════
       FORSID DASHBOARD - PREMIUM EDITION
       ═══════════════════════════════════════════════════════════════════════════ */

.fd-dashboard {
    padding: 0;
    background: #f3f4f6;
    min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO WELCOME SECTION
   ───────────────────────────────────────────────────────────────────────────── */
.fd-hero {
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #111111 100%);
    padding: 32px 32px 80px;
    position: relative;
    overflow: hidden;
}

.fd-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(158, 206, 179, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.fd-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 255, 61, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.fd-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.fd-welcome {
    flex: 1;
}

.fd-welcome-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(245, 255, 61, 0.1);
    border: 1px solid rgba(245, 255, 61, 0.2);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #f5ff3d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.fd-welcome-label i {
    font-size: 14px;
}

.fd-welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.fd-welcome-title span {
    background: linear-gradient(135deg, #9eceb3 0%, #f5ff3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fd-welcome-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    max-width: 400px;
    line-height: 1.6;
}

/* Status Badge */
.fd-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.fd-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
    animation: fd-pulse 2s ease-in-out infinite;
}

.fd-status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

@keyframes fd-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.fd-status-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* ─────────────────────────────────────────────────────────────────────────────
   MAIN CONTENT AREA
   ───────────────────────────────────────────────────────────────────────────── */
.fd-main {
    padding: 0 32px 32px;
    margin-top: -48px;
    position: relative;
    z-index: 3;
}

/* ─────────────────────────────────────────────────────────────────────────────
   KPI CARDS
   ───────────────────────────────────────────────────────────────────────────── */
.fd-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.fd-kpi-card {
    background: #ffffff;
    border: 1px solid #eaedf1;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fd-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.fd-kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
}

.fd-kpi-card.credit::before { background: linear-gradient(90deg, #9eceb3, #22c55e); }
.fd-kpi-card.messages::before { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.fd-kpi-card.contacts::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }

.fd-kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.fd-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.fd-kpi-card.credit .fd-kpi-icon {
    background: linear-gradient(135deg, rgba(158, 206, 179, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%);
    color: #22c55e;
}

.fd-kpi-card.messages .fd-kpi-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: #3b82f6;
}

.fd-kpi-card.contacts .fd-kpi-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    color: #f59e0b;
}

.fd-kpi-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.fd-kpi-trend.up {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.fd-kpi-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.fd-kpi-value {
    font-size: 32px;
    font-weight: 800;
    color: #0b0b0b;
    margin: 0 0 4px 0;
    letter-spacing: -1px;
    line-height: 1;
}

.fd-kpi-label {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   WHATSAPP CONNECTION CARD
   ───────────────────────────────────────────────────────────────────────────── */
.fd-wp-card {
    background: #ffffff;
    border: 1px solid #eaedf1;
    border-radius: 24px;
    overflow: hidden;
}

.fd-wp-header {
    padding: 24px 28px;
    border-bottom: 1px solid #eaedf1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fd-wp-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fd-wp-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.5);
}

.fd-wp-title {
    font-size: 18px;
    font-weight: 700;
    color: #0b0b0b;
    margin: 0 0 4px 0;
}

.fd-wp-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.fd-wp-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.fd-wp-status.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.fd-wp-status.online {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.fd-wp-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.fd-wp-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: center;
}

.fd-wp-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0b0b0b;
    margin: 0 0 16px 0;
}

.fd-wp-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.fd-wp-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fd-wp-step-num {
    width: 28px;
    height: 28px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    flex-shrink: 0;
}

.fd-wp-step-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    padding-top: 4px;
}

.fd-wp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #000000;
    color: #f5ff3d;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
}

.fd-wp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
}

.fd-wp-btn:active {
    transform: translateY(0);
}

.fd-wp-btn iconify-icon {
    font-size: 20px;
}

/* QR Section */
.fd-wp-qr {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}

.fd-wp-qr-box {
    width: 220px;
    height: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.fd-wp-qr-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 255, 61, 0.03) 50%, transparent 70%);
    animation: fd-shimmer 2s ease-in-out infinite;
}

@keyframes fd-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.fd-wp-qr-box iconify-icon {
    font-size: 72px;
    color: #cbd5e1;
}

.fd-wp-qr-text {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .fd-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fd-wp-body {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fd-wp-qr {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .fd-hero {
        padding: 24px 24px 72px;
    }

    .fd-main {
        padding: 0 24px 24px;
    }

    .fd-hero-content {
        flex-direction: column;
        gap: 20px;
    }

    .fd-kpi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fd-kpi-card {
        padding: 20px;
    }

    .fd-kpi-value {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .fd-hero {
        padding: 20px 16px 64px;
    }

    .fd-main {
        padding: 0 16px 16px;
        margin-top: -40px;
    }

    .fd-welcome-title {
        font-size: 22px;
    }

    .fd-wp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .fd-wp-body {
        padding: 20px;
    }

    .fd-wp-qr-box {
        width: 180px;
        height: 180px;
    }
}

    /* Footer Bottom Menü */
    .forsid-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        margin: 0 auto;
        max-width: 720px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        background: rgb(245 245 245 / 28%);
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
    }

    .button-toggle-menu {
        margin: 0px !important;
    }

    .forsid-bottom-nav .nav-btn iconify-icon {
        font-size: 22px;
        width: 22px;
        height: 22px;
        line-height: 1;
    }

    .forsid-bottom-nav .nav-btn {
        appearance: none;
        border: 0;
        background: rgba(255, 255, 255, .06);
        color: #000000;
        border-radius: 14px;
        padding: 10px 6px 8px;
        display: grid;
        place-items: center;
        gap: 4px;
        text-decoration: none;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    }

    .forsid-bottom-nav .nav-btn:hover {
        background: rgba(255, 255, 255, .12);
    }

    .forsid-bottom-nav .nav-btn i {
        font-size: 18px;
        line-height: 1;
    }

    .forsid-bottom-nav .nav-btn span {
        font-size: 12.5px;
        opacity: .9;
    }
    /* Footer Bottom MenüBitiş */

    .sidebar-account {
        flex: 0 0 auto;
        position: sticky;
        bottom: 0;
        border-top: 1px solid rgba(187, 175, 175, .38);
        padding: 10px 0px 10px;
    }

    .sidebar-account a {
        text-decoration: none
    }

    .pf-topbar-inner{
        display: flex; justify-content: space-between;
        align-items: center; gap: .75rem; padding: .65rem 0;
    }

    /* Sidebar Alanı */
    .main-nav {
        display: flex;
        flex-direction: column;
        height: 100vh;
    }

    .main-nav .scrollbar {
        flex: 1 1 auto;
        min-height: 0;
    }

    .sidebar-account {
        flex: 0 0 auto;
        position: sticky;
        bottom: 0;
        border-top: 1px solid rgba(187, 175, 175, .38);
        padding: 10px 0px 10px;
    }

    .sidebar-account a {
        text-decoration: none
    }

    .wrapper .main-nav {
        padding-bottom: 0;
    }
