/* ===========================
   Dashboard Page Styles
   =========================== */

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

/* Branded Header */
.app-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #0f3460;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header-left .logo {
    height: 40px;
    width: auto;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 0.5rem 1.25rem;
    color: #e94560;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    background-color: rgba(233, 69, 96, 0.1);
    color: #ff6b6b;
}

.nav-link.active {
    background-color: rgba(233, 69, 96, 0.2);
    color: #ff6b6b;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background-color: #e94560;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.logout-btn {
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: #e94560;
    border: 1px solid #e94560;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background-color: #e94560;
    color: #ffffff;
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    padding: 3rem 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.dashboard-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(233, 69, 96, 0.15);
    border-color: #e94560;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-content {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(233, 69, 96, 0.2);
    }
}

@media (max-width: 768px) {
    .dashboard-title {
        font-size: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .header-nav {
        gap: 0.25rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .user-name {
        display: none;
    }
}

@media (max-width: 480px) {
    .dashboard-main {
        padding: 2rem 1rem;
    }
    
    .logout-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ===========================
   Placeholder Card
   =========================== */

.placeholder-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    cursor: default;
    opacity: 0.8;
}

.placeholder-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border-color: #dee2e6;
}

.placeholder-logo {
    height: 40px;
    width: auto;
    opacity: 0.6;
}

/* ===========================
   Support Card
   =========================== */

.support-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
}

.support-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.15);
}

.support-card .card-icon {
    font-size: 2.5rem;
}

.support-card .card-title {
    color: #dc2626;
}
