/* DASHBOARD HEADER */


.dashboard-header{

    margin-bottom:50px;

}



.dashboard-header h1{

    font-size:42px;

    margin-bottom:15px;

}



.dashboard-header p{

    color:var(--text-secondary);

    font-size:18px;

    margin-bottom:30px;

}


/* RECENT PROJECTS */


.recent-projects{

    margin-top:40px;

}



.section-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}



.section-header h2{

    font-size:28px;

}



.section-header a{

    color:var(--blue);

    text-decoration:none;

}




.project-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}





.project-card{

    background:rgba(255,255,255,0.04);

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;

    transition:0.3s;

}



.project-card:hover{

    transform:translateY(-6px);

}





.project-image{

    height:130px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:50px;

    background:rgba(255,255,255,0.05);

}





.project-info{

    padding:20px;

}



.project-info h3{

    margin-bottom:10px;

}



.project-info p{

    color:var(--text-secondary);

    margin-bottom:10px;

}



.project-info span{

    font-size:13px;

    color:var(--teal);

}

@media(max-width:900px){


    .project-grid{

        grid-template-columns:repeat(2,1fr);

    }


}



@media(max-width:600px){


    .project-grid{

        grid-template-columns:1fr;

    }


}

.project-stats{

    display:flex;

    justify-content:space-between;

    margin:15px 0;

    padding:12px;

    border-radius:12px;

    background:rgba(255,255,255,.03);

}

.project-stats span{

    font-weight:600;

}

.shot-card h2{

    font-size:22px;

    margin-bottom:10px;

}

.shot-card p{

    color:var(--text-secondary);

}

.shot-card p:first-of-type{

    min-height:40px;

}

.project-status{

    display:inline-block;

    padding:6px 12px;

    border-radius:20px;

    margin-top:10px;

    margin-bottom:10px;

    background:rgba(0,255,150,.12);

    border:1px solid rgba(0,255,150,.3);

    font-size:13px;

    font-weight:600;

}

.shot-card{

    transition:0.3s;

    cursor:pointer;

}

.shot-card:hover{

    transform:translateY(-5px);

    background:rgba(255,255,255,.06);

    border-color:rgba(255,255,255,.2);

}

/* AI ACTIVITY */


.activity-section{

    margin-top:60px;

}



.activity-container{

    display:flex;

    flex-direction:column;

    gap:20px;

}



.activity-item{

    display:flex;

    gap:20px;

    align-items:flex-start;

    padding:20px;

    border-radius:20px;

    border:1px solid var(--border);

    background:rgba(255,255,255,0.04);

}



.activity-icon{

    font-size:28px;

}



.activity-content h4{

    margin-bottom:8px;

}



.activity-content p{

    color:var(--text-secondary);

}

.project-actions button{
    flex:1;
    padding:12px 18px;
    border:none;
    border-radius:10px;
    color:white;
    cursor:pointer;
    font-size:14px;
    transition:0.3s ease;
    background:var(--gradient);
}

.project-actions button:hover{
    transform:translateY(-2px);
    opacity:0.9;
}

.project-actions button:last-child{
    background:#7f1d1d;
}

.project-actions button:last-child:hover{
    background:#991b1b;
}

/* =================================
   DASHBOARD
================================= */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 0 45px;
}

.dashboard-header h1 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: clamp(28px, 4vw, 42px);
}

.dashboard-header p {
    color: var(--muted-color);
    line-height: 1.6;
}

/* Statistics */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto 45px;
}

.stat-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--card-color);
    transition: 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #8b5cf6;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #8b5cf6,
        #ec4899,
        #f59e0b
    );
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.12);
    font-size: 23px;
}

.stat-card h3 {
    margin-bottom: 10px;
    color: var(--muted-color);
    font-size: 14px;
    font-weight: 500;
}

.stat-card p {
    color: var(--text-color);
    font-size: 32px;
    font-weight: 700;
}

/* Activity */

.activity-section {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px 0 50px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.section-header h2 {
    color: var(--text-color);
    font-size: 24px;
}

.activity-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--card-color);
    transition: 0.25s ease;
}

.activity-item:hover {
    transform: translateY(-3px);
    border-color: #8b5cf6;
}

.activity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.12);
    font-size: 20px;
}

.activity-content h4 {
    margin-bottom: 7px;
    color: var(--text-color);
    font-size: 15px;
}

.activity-content p {
    color: var(--muted-color);
    font-size: 14px;
    line-height: 1.6;
}

/* Mobile */

@media (max-width: 900px) {

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-container {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .dashboard-header {
        align-items: flex-start;
        padding: 10px 0 35px;
    }

    .dashboard-header .btn-primary {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 170px;
    }

    .activity-section {
        padding-bottom: 30px;
    }

}

/* =================================
   CINEMATIC SIDEBAR
================================= */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 16px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 28px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.sidebar-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    font-size: 21px;
}

.sidebar-brand strong {
    display: block;
    color: var(--text-color);
    font-size: 15px;
}

.sidebar-brand span {
    display: block;
    margin-top: 3px;
    color: var(--muted-color);
    font-size: 11px;
}

.sidebar-title {
    padding: 12px;
    color: var(--muted-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: var(--muted-color);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.sidebar-nav a span {
    width: 22px;
    text-align: center;
    font-size: 17px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(139, 92, 246, 0.12);
    color: var(--text-color);
}

.sidebar-nav a.active {
    border-left: 3px solid #8b5cf6;
    padding-left: 9px;
}

.sidebar-projects {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

#sidebarProjects {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#sidebarProjects a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--muted-color);
    text-decoration: none;
    font-size: 13px;
}

#sidebarProjects a:hover {
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-color);
}

/* Navbar polish */
.navbar {
    min-height: 72px;
    padding: 0 32px;
    border-bottom: 1px solid var(--border-color);
    background: var(--card-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo small {
    padding: 3px 7px;
    border-radius: 6px;
    background: #8b5cf6;
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--muted-color);
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.nav-links a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-color);
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border: 2px solid #8b5cf6;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-toggle {
    border: none;
    background: transparent;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 18px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 8px;
        font-size: 13px;
    }

    .logo {
        font-size: 16px;
    }
}/* Keep sidebar scrolling separate from the page */
.sidebar {
    height: calc(100vh - 72px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    padding-bottom: 24px;
}

.sidebar-projects {
    margin-bottom: 12px;
}