/* ===== Dashboard Container ===== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background: #f3f6fa;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* ===== Sidebar ===== */
.user-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-avatar {
    position: relative;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.online-status {
    background: #27ae60;
    position: absolute;
    bottom: 5px;
    right: 5px;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    border: 2px solid #2c3e50;
}

.profile-info h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0 0;
}

.user-role {
    font-size: 0.8rem;
    color: #ccc;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    margin-top: 4px;
}

/* ===== Sidebar Navigation ===== */
.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 1.8rem;
}

.nav-item.active {
    background: linear-gradient(90deg, #3498db 0%, rgba(52, 152, 219, 0.3) 100%);
    border-left: 4px solid #3498db;
    color: #fff;
}

.nav-item i {
    margin-right: 1rem;
    font-size: 1rem;
}

.nav-badge {
    background: #e74c3c;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.75rem;
    margin-left: auto;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    padding: 2rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===== Stats Section ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.3rem;
}

.stat-content h3 {
    font-size: 1.6rem;
    margin: 0;
    font-weight: bold;
}

/* ===== Dashboard Content Section ===== */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.3s ease;
}

.content-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.view-all {
    color: #3498db;
    font-size: 0.9rem;
    text-decoration: none;
}

.applications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.application-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    border-radius: 10px;
    background: #f1f4f9;
    transition: background 0.3s ease;
}

.application-item:hover {
    background: #e9f2ff;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: capitalize;
}

.status-approved { background: #e9eeff; color: rgb(30, 252, 60); }
.status-pending { background: #e9eeff; color: rgb(17, 16, 12); }
.status-rejected { background: #e9eeff; color: rgb(228, 32, 32); }
.status-reviewed { background: #e9eeff; color: #00a3e7; }
.status-accepted { background: #e9eeff; color: rgb(25, 135, 84);; }
/* ===== Quick Actions ===== */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f1f4f9;
    padding: 1rem;
    border-radius: 12px;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #3498db;
    color: white;
    transform: translateY(-5px);
}

.action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    .user-sidebar {
        width: 220px;
    }
}
@media (max-width: 768px) {
    .user-sidebar {
        position: fixed;
        height: 100vh;
        transform: translateX(-100%);
    }
    .user-sidebar.active {
        transform: translateX(0);
    }
}














