/* ==========================================
   NAZSELL SAAS DASHBOARD LAYOUT CSS
   ========================================== */

.nazsell-dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #0f0c1b; /* Dark theme base matching SaaS style */
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    width: 100%;
}

/* 1. LEFT SIDEBAR */
.nazsell-sidebar {
    width: 260px;
    background: rgba(25, 20, 35, 0.85);
    backdrop-filter: blur(15px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
}

.nazsell-brand-logo {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    color: #ffffff;
}

.nazsell-brand-logo .logo-box {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 6px;
}

/* Sidebar Menu Tabs */
.nazsell-menu-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
}

.nazsell-menu-tabs li {
    margin-bottom: 8px;
}

.nazsell-menu-tabs li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nazsell-menu-tabs li a span {
    font-size: 18px;
}

.nazsell-menu-tabs li a:hover,
.nazsell-menu-tabs li a.active {
    background: #ffffff;
    color: #0f0c1b;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

/* Upgrade Box at Sidebar Bottom */
.nazsell-upgrade-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    border-radius: 16px;
    text-align: center;
    margin-top: 20px;
}

.nazsell-upgrade-box h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #ffffff;
}

.nazsell-upgrade-box p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.nazsell-upgrade-btn {
    width: 100%;
    background: #ffffff;
    color: #0f0c1b;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nazsell-upgrade-btn:hover {
    background: #f0ecfc;
}

/* 2. RIGHT MAIN CONTENT AREA */
.nazsell-main-content {
    flex-grow: 1;
    padding: 30px 40px;
    overflow-y: auto;
    background: rgba(120, 105, 140, 0.15); /* Glassmorphism background tint */
}

/* Topbar */
.nazsell-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.nazsell-search-box input {
    width: 320px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    outline: none;
    font-size: 14px;
}

.nazsell-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.nazsell-user-profile {
    font-weight: 600;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Welcome Banner */
.nazsell-welcome-banner h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.nazsell-welcome-banner p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    margin: 0 0 25px 0;
}

/* Stats Cards Row */
.nazsell-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.nazsell-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px;
    border-radius: 16px;
}

.nazsell-stat-card span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 10px;
}

.nazsell-stat-card h3 {
    font-size: 26px;
    margin: 0;
    font-weight: 700;
    color: #ffffff;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .nazsell-dashboard-container {
        flex-direction: column;
    }
    .nazsell-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .nazsell-main-content {
        padding: 20px;
    }
}