/* Dashboard Layout */
.dashboard-layout {
    min-height: 100vh;
    background: #030712;
}

.dashboard-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-800);
}

.dashboard-navbar-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}

.dashboard-logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--blue-500);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
}

.navbar-logo-svg {
    width: 100%;
    height: 100%;
    stroke: white;
    stroke-width: 2;
}

.dashboard-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.dashboard-user-menu {
    position: relative;
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--blue-500);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.user-avatar:hover {
    background: var(--blue-600);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 12rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--slate-300);
    font-size: 0.875rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background: var(--slate-800);
    color: white;
}

.dropdown-item.danger {
    color: #ef4444;
}

.dropdown-item.danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dropdown-icon {
    width: 1.125rem;
    height: 1.125rem;
    stroke: currentColor;
    stroke-width: 2;
}

/* Dashboard Main Content */
.dashboard-main {
    max-width: 80rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

@media (min-width: 768px) {
    .dashboard-main {
        padding: 4rem 2rem;
    }
}

.dashboard-content {
    width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
    }
}

.dashboard-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.dashboard-subtitle {
    font-size: 1.125rem;
    color: var(--slate-400);
}

.btn-new-project {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--blue-500);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.btn-new-project:hover {
    background: var(--blue-600);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
    stroke-width: 2;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--slate-800);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.project-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.3);
}

.project-menu-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--slate-700);
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.project-menu-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--slate-600);
}

.menu-icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    stroke-width: 2;
}

.project-dropdown {
    position: absolute;
    top: 3.5rem;
    right: 1rem;
    min-width: 10rem;
    background: var(--slate-900);
    border: 1px solid var(--slate-800);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 20;
}

.project-thumbnail {
    aspect-ratio: 16 / 9;
    background: var(--slate-800);
}

.project-info {
    padding: 1.5rem;
}

.project-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.project-date {
    font-size: 0.875rem;
    color: var(--slate-400);
    margin-bottom: 0.75rem;
}

.project-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-status.draft {
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
}

.project-status.published {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-illustration {
    margin-bottom: 2rem;
}

.empty-svg {
    width: 12rem;
    height: 12rem;
    margin: 0 auto;
    color: var(--slate-400);
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.empty-description {
    font-size: 1rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
}

/* ========== MOBILE RESPONSIVENESS ========== */

@media (max-width: 768px) {
    .dashboard-navbar-content {
        padding: 0.75rem 1rem;
    }

    .dashboard-logo img {
        height: 32px;
    }

    .dashboard-main {
        padding: 2rem 1rem;
    }

    .empty-svg {
        width: 8rem;
        height: 8rem;
    }

    .empty-title {
        font-size: 1.25rem;
    }

    .empty-description {
        font-size: 0.875rem;
    }
}