/* Custom CSS untuk Sistem Manajemen Tugas - Penuh Warna & Unik */

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --success-color: #51cf66;
    --warning-color: #ffd43b;
    --danger-color: #ff8787;
    --info-color: #74c0fc;
    --purple-color: #da77f2;
    --orange-color: #ff922b;
    --pink-color: #f783ac;
    --light-color: #f8f9ff;
    --dark-color: #2d3748;
    
    /* Gradien Warna-warni */
    --gradient-primary: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
    --gradient-secondary: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-success: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    --gradient-warning: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    --gradient-danger: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --gradient-info: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-purple: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-rainbow: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd, #98d8c8);
    --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-ocean: linear-gradient(135deg, #667db6 0%, #0082c8 25%, #0082c8 50%, #667db6 100%);
    --gradient-forest: linear-gradient(135deg, #134e5e 0%, #71b280 100%);
    
    /* Shadow dengan warna */
    --shadow-sm: 0 2px 4px rgba(255, 107, 107, 0.1);
    --shadow-md: 0 4px 8px rgba(255, 107, 107, 0.15);
    --shadow-lg: 0 8px 16px rgba(255, 107, 107, 0.2);
    --shadow-colored: 0 8px 32px rgba(255, 107, 107, 0.3);
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-secondary);
    color: var(--dark-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Background animasi */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-rainbow);
    opacity: 0.05;
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    33% { transform: translateX(-50%) translateY(-50%) rotate(120deg); }
    66% { transform: translateX(-50%) translateY(-50%) rotate(240deg); }
}

.h-100 {
    height: 100vh !important;
}

/* Floating shapes untuk dekorasi */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-shapes::before {
    width: 100px;
    height: 100px;
    background: var(--gradient-sunset);
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.floating-shapes::after {
    width: 150px;
    height: 150px;
    background: var(--gradient-ocean);
    bottom: 20%;
    right: 10%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Login Page Styles */
.login-page {
    background: var(--gradient-primary);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.login-form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-colored);
    width: 100%;
    max-width: 450px;
    margin: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.login-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-rainbow);
    animation: rainbowSlide 3s ease-in-out infinite;
}

@keyframes rainbowSlide {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.login-form-container .form-control {
    border-radius: 15px;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.login-form-container .form-control:focus {
    background: linear-gradient(white, white) padding-box, var(--gradient-sunset) border-box;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-colored);
}

/* Dashboard Styles */
.sidebar {
    background: var(--gradient-primary);
    min-height: 100vh;
    padding: 0;
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 1.2rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    z-index: 2;
    margin: 0.2rem 0;
    font-weight: 500;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.sidebar .nav-link:hover::before,
.sidebar .nav-link.active::before {
    width: 100%;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: white;
    border-left-color: var(--warning-color);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.sidebar .nav-link i {
    width: 25px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.main-content {
    background: var(--gradient-secondary);
    min-height: 100vh;
    padding: 2rem;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.main-content > * {
    position: relative;
    z-index: 1;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-rainbow);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.card:hover {
    box-shadow: var(--shadow-colored);
    transform: translateY(-8px) scale(1.02);
}

    padding: 1rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: slideShine 3s ease-in-out infinite;
}

@keyframes slideShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

    padding: 1rem;

/* Stats Cards dengan warna unik */
.stats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.stats-card:hover {
    box-shadow: var(--shadow-colored);
    transform: translateY(-5px) rotate(1deg);
}

.stats-card.success {
    border-left-color: var(--success-color);
}

.stats-card.success::before {
    background: radial-gradient(circle, rgba(81, 207, 102, 0.1) 0%, transparent 70%);
}

.stats-card.warning {
    border-left-color: var(--warning-color);
}

.stats-card.warning::before {
    background: radial-gradient(circle, rgba(255, 212, 59, 0.1) 0%, transparent 70%);
}

.stats-card.danger {
    border-left-color: var(--danger-color);
}

.stats-card.danger::before {
    background: radial-gradient(circle, rgba(255, 135, 135, 0.1) 0%, transparent 70%);
}

.stats-card.info {
    border-left-color: var(--info-color);
}

.stats-card.info::before {
    background: radial-gradient(circle, rgba(116, 192, 252, 0.1) 0%, transparent 70%);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
}

/* Button Styles */
.btn {
    border-radius: 15px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 12px;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 18px;
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
}

.btn-outline-primary {
    background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: white;
}

.btn-outline-success {
    background: linear-gradient(white, white) padding-box, var(--gradient-success) border-box;
    color: var(--success-color);
}

.btn-outline-success:hover {
    background: var(--gradient-success);
    color: white;
}

.btn-outline-warning {
    background: linear-gradient(white, white) padding-box, var(--gradient-warning) border-box;
    color: var(--warning-color);
}

.btn-outline-warning:hover {
    background: var(--gradient-warning);
    color: white;
}

.btn-outline-danger {
    background: linear-gradient(white, white) padding-box, var(--gradient-danger) border-box;
    color: var(--danger-color);
}

.btn-outline-danger:hover {
    background: var(--gradient-danger);
    color: white;
}

.btn-outline-info {
    background: linear-gradient(white, white) padding-box, var(--gradient-info) border-box;
    color: var(--info-color);
}

.btn-outline-info:hover {
    background: var(--gradient-info);
    color: white;
}

/* Form Styles */
.form-control {
    border-radius: 15px;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-secondary) border-box;
    padding: 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.form-select {
    border-radius: 15px;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box, var(--gradient-secondary) border-box;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    background: linear-gradient(white, white) padding-box, var(--gradient-primary) border-box;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

/* Table Styles */
.table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f1f5f9;
}

.table tbody tr:hover {
    background-color: #f8fafc;
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
}

.alert-warning {
    background-color: #fefce8;
    color: #a16207;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 16px 16px 0 0;
}

.modal-footer {
    border: none;
    padding: 1.5rem;
}



/* Camera Styles */
.camera-container {
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.camera-preview {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.camera-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.camera-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.camera-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* Map Styles */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

#map {
    height: 300px;
    width: 100%;
}

/* Progress Styles */
.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e2e8f0;
}

.progress-bar {
    border-radius: 4px;
    background: var(--gradient-primary);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

/* Rating Styles */
.rating {
    display: flex;
    gap: 0.25rem;
}

.rating .star {
    font-size: 1.25rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating .star.active,
.rating .star:hover {
    color: #fbbf24;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Table Styles */
.table {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 700;
    padding: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.table tbody td {
    padding: 1.5rem;
    vertical-align: middle;
    border-color: rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
}

.table tbody tr {
    transition: all 0.3s ease;
}

.table tbody tr:hover {
    background: var(--gradient-secondary);
    transform: scale(1.01);
}

/* Badge Styles dengan warna unik */
.badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: badgeShine 2s ease-in-out infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.bg-warning {
    background: var(--gradient-warning) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-success {
    background: var(--gradient-success) !important;
}

.bg-info {
    background: var(--gradient-info) !important;
}

.bg-danger {
    background: var(--gradient-danger) !important;
}

.bg-secondary {
    background: var(--gradient-purple) !important;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-rainbow);
}

.alert-success {
    background: rgba(81, 207, 102, 0.1);
    color: #2d5016;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: rgba(255, 135, 135, 0.1);
    color: #7f1d1d;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: rgba(255, 212, 59, 0.1);
    color: #92400e;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: rgba(116, 192, 252, 0.1);
    color: #1e3a8a;
    border-left: 4px solid var(--info-color);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 25px;
    box-shadow: var(--shadow-colored);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px 25px 0 0;
    padding: 2rem;
}

.modal-footer {
    border: none;
    padding: 2rem;
    background: var(--gradient-secondary);
    border-radius: 0 0 25px 25px;
}

/* Text Gradient */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Utility Classes */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-success {
    background: var(--gradient-success);
}

.bg-gradient-warning {
    background: var(--gradient-warning);
}

.bg-gradient-danger {
    background: var(--gradient-danger);
}

.bg-gradient-info {
    background: var(--gradient-info);
}

.bg-gradient-rainbow {
    background: var(--gradient-rainbow);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-colored {
    box-shadow: var(--shadow-colored);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Loading Spinner dengan warna */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 107, 107, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: relative;
}

.spinner::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 4px solid transparent;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Responsive dengan warna */
@media (max-width: 768px) {
    .login-form-container {
        margin: 1rem;
        padding: 2rem;
        border-radius: 20px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        z-index: 1050;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-colored);
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .stats-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .table-responsive {
        border-radius: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .stats-number {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 1rem;
    }
}

/* Hover effects untuk interaktivitas */
.interactive-hover {
    transition: all 0.3s ease;
}

.interactive-hover:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-colored);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gradient-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-sunset);
}



/* Custom font size for smaller text */
.fs-7 {
    font-size: 0.875rem; /* Adjust as needed, typically smaller than fs-6 */
}




/* Mobile Responsive */
@media (max-width: 768px) {
    .login-form-container {
        margin: 1rem;
        padding: 2rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100%;
        z-index: 1050;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        display: none;
    }
    
    .sidebar-backdrop.show {
        display: block;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        border-radius: 12px;
    }
}

.navbar-toggler {
    display: none; /* Hidden by default, shown on mobile */
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1060;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}


