/* Modern Dashboard Styles */

/* CSS Variables for UIN Color Scheme */
:root {
    --primary-green: #006838;
    --secondary-green: #004d2a;
    --success-green: #38a169;
    --success-green-dark: #2f855a;
    --text-primary: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --warning: #d69e2e;
    --warning-dark: #b7791f;
    --danger: #e53e3e;
    --danger-dark: #c53030;
}

/* ========================================
   ENHANCED 2-COLUMN LAYOUT SYSTEM
   ======================================== */

/* Main Content Wrapper - Fix for Layout Shift */
.main-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.content-wrapper {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}

.sidebar {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
}

@media (max-width: 991.98px) {
    .main-content-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sidebar {
        flex: 1 1 100%;
        width: 100%;
        min-width: auto;
        order: 2;
    }
    
    .content-wrapper {
        order: 1;
    }
}

/* Main Container Enhancement */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Enhanced 2-Column Layout */
.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (max-width: 991.98px) {
    .two-column-layout {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Sidebar Column Enhancement */
.sidebar-column {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    z-index: 100;
}

/* Content Card Styles */
.content-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #006838, #004d2a);
}

.content-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.content-card-header {
    background: linear-gradient(135deg, #006838, #004d2a);
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
    position: relative;
}

.content-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-card-title i {
    color: white;
    font-size: 1.1rem;
}

.content-card-body {
    padding: 2rem;
}

/* Dashboard Card Styles */
.dashboard-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #006838, #004d2a);
}

.dashboard-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-header-custom {
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
    position: relative;
}

.card-title-custom {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #006838;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title-custom i {
    color: #006838;
    font-size: 1.1rem;
}

.card-body {
    padding: 2rem;
}

.card-actions {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.stats-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1;
}

/* Dashboard Grid System */
.dashboard-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-grid.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

.stat-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--primary-green);
    margin: 0.5rem 0 0 0;
    font-weight: 500;
    display: block;
    opacity: 1;
    visibility: visible;
}

.summary-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.summary-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.summary-content {
    flex: 1;
}

.summary-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin: 0;
    line-height: 1;
}

.summary-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0 0;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #006838 0%, #004d2a 50%, #006838 100%);
    font-family: 'Inter', sans-serif;
}

/* Modern Sidebar */
.modern-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #006838, #004d2a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.logo-text h4 {
    margin: 0;
    font-weight: 700;
    color: #2d3748;
    font-size: 1.25rem;
}

.logo-text span {
    color: #718096;
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.nav-item {
    margin: 0.25rem 1rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    color: #4a5568;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(0, 104, 56, 0.1);
    color: #006838;
    transform: translateX(4px);
}

.nav-item.active .nav-link {
    background: linear-gradient(135deg, #006838, #004d2a);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 104, 56, 0.4);
}

.nav-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    color: #e53e3e;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.logout-btn:hover {
    background: rgba(229, 62, 62, 0.1);
    color: #c53030;
}

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    overflow-y: auto;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #006838, #004d2a);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 104, 56, 0.3);
    min-height: 60px;
}

.dashboard-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.2;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    background: transparent;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-1px);
}

/* Responsive Header */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 0.5rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        min-height: auto;
    }
    
    .dashboard-title {
        font-size: 1rem;
    }
    
    .user-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .user-name {
        font-size: 0.8rem;
    }
    
    .user-role {
        font-size: 0.7rem;
    }
    
    .btn-outline-light {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-header .container {
        padding: 0;
    }
    
    .dashboard-header {
        margin: 0.5rem;
        border-radius: 8px;
    }
    
    .user-details {
        display: none;
    }
    
    .user-info {
        gap: 0.5rem;
    }
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.page-subtitle {
    color: #718096;
    margin: 0.25rem 0 0 0;
    font-weight: 500;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User avatar and info styles moved to header section above */

/* Welcome Banner Styles */
.welcome-banner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-content {
    text-align: center;
}

.welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.welcome-subtitle {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

/* Stats Cards */
.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stats-card.primary .stats-icon {
    background: linear-gradient(135deg, #006838, #004d2a);
}

.stats-card.success .stats-icon {
    background: linear-gradient(135deg, #38a169, #2f855a);
}

.stats-card.warning .stats-icon {
    background: linear-gradient(135deg, #d69e2e, #b7791f);
}

.stats-card.danger .stats-icon {
    background: linear-gradient(135deg, #e53e3e, #c53030);
}

.stats-content {
    flex: 1;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
    margin: 0;
}

/* Main Content Wrapper Fix */
.main-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.content-wrapper {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Row alignment fix */
.row {
    margin-left: 0;
    margin-right: 0;
}

.row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Responsive Layout Fixes */
@media (max-width: 991.98px) {
    .main-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .welcome-banner {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .welcome-banner {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .welcome-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .stats-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .stats-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
}

/* Container alignment */
.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1200px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Content Card Styling */
.content-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.content-card-header {
    background: linear-gradient(135deg, #006838, #004d2a);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content-card-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.content-card-body {
    padding: 1.5rem;
}

/* Column spacing fixes */
.col-md-3, .col-md-9 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (max-width: 768px) {
    .col-md-3, .col-md-9 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .content-wrapper {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .content-card-body {
        padding: 1rem;
    }
}

/* Date and time styling - Indonesian regional format with black color */
.welcome-time,
.date-info,
.date-cell,
#currentDateTime,
.welcome-meta .welcome-time.date-info {
     color: #000000 !important;
     font-weight: 500;
     font-size: 0.875rem;
     display: flex;
     align-items: center;
 }

 .welcome-time {
     color: #000000 !important;
 }

 .date-cell {
     color: #000000 !important;
 }

 /* Welcome Meta Styling */
 .welcome-meta {
     display: flex;
     gap: 2rem;
     margin-top: 1.5rem;
 }

 .welcome-meta span {
     color: #000000 !important;
     font-weight: 500;
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .welcome-role {
     color: #000000 !important;
 }
.welcome-time i,
.date-info i {
    color: #000000 !important;
}

/* Ensure all date elements are black */
.table .date-cell,
.stats-card .date-info,
.content-card .date-info {
    color: #000000 !important;
}

/* Ensure all text on white/light backgrounds is black for good contrast */
.stats-card .stats-number,
.stats-card .stats-label,
.action-card h4,
.action-card p,
.content-card .content-card-body,
.modern-sidebar .nav-link,
.modern-sidebar .logo-text h4,
.modern-sidebar .logo-text span {
    color: #000000 !important;
}

/* Override any gray text on white backgrounds */
.stats-label {
    color: #4a5568 !important;
}

.action-content p {
    color: #718096 !important;
}

/* Welcome Hero Section */
.welcome-hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.welcome-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 104, 56, 0.1), rgba(0, 77, 42, 0.1));
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.hero-description {
    color: #718096 !important;
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-hero {
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hero.primary {
    background: linear-gradient(135deg, #006838, #004d2a);
    color: white;
}

.btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 104, 56, 0.4);
    color: white;
}

.btn-hero.secondary {
    background: rgba(0, 104, 56, 0.1);
    color: #006838;
    border: 2px solid rgba(0, 104, 56, 0.2);
}

.btn-hero.secondary:hover {
    background: rgba(0, 104, 56, 0.2);
    transform: translateY(-2px);
    color: #006838;
}

.hero-illustration {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.floating-card {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #006838, #004d2a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 104, 56, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Quick Stats */
.quick-stats {
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.primary {
    background: linear-gradient(135deg, #006838, #004d2a);
}

.stat-icon.success {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.stat-icon.warning {
    background: linear-gradient(135deg, #ed8936, #dd6b20);
}

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.stat-content p {
    color: #718096;
    margin: 0;
    font-size: 0.875rem;
}

.stat-arrow {
    color: #cbd5e0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-arrow {
    color: #006838;
    transform: translateX(4px);
}

/* Quick Actions Section */
.quick-actions-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: inherit;
}

.action-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #006838, #004d2a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.action-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.action-content p {
    color: #718096;
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modern-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .welcome-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stats-grid,
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        justify-content: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Disable hover effects for edit buttons */
.btn-outline-primary,
.btn-outline-warning,
.btn-outline-danger {
    transition: none !important;
}

.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Table Header Styling */
.table-header-green {
    background: linear-gradient(135deg, #006838, #004d2a) !important;
}

.table-header-green th {
    background: linear-gradient(135deg, #006838, #004d2a) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-bottom: 2px solid #004d2a;
    padding: 1rem 0.75rem;
    text-align: left;
    vertical-align: middle;
}

/* User Info Cell Styling - Make lecturer names black */
.user-info-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-details-cell .user-name {
    color: #000000 !important;
    font-weight: 600;
    font-size: 0.95rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #006838, #004d2a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.user-avatar-small img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}