:root {
    --primary-color: #0ea5e9;
    --secondary-color: #6366f1;
    --accent-color: #06b6d4;
    --dark-color: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --neon-glow: 0 0 20px rgba(14, 165, 233, 0.3);
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
}

* {
    font-family: 'Sarabun', 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f5f3ff 100%);
    background-attachment: fixed;
    color: #1e293b;
    min-height: 100vh;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(14, 165, 233, 0.3); }
    50% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.6), 0 0 40px rgba(99, 102, 241, 0.3); }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========== NAVBAR ========== */
.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c4a6e 100%) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(14, 165, 233, 0.3);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease forwards;
}

/* ========== GLASS CARDS ========== */
.card {
    border: none;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.2), var(--neon-glow);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

/* ========== STAT CARDS ========== */
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 0 0 0 100%;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.2), var(--neon-glow);
}

.stat-card.primary { border-left-color: var(--primary-color); }
.stat-card.success { border-left-color: #10b981; }
.stat-card.warning { border-left-color: #f59e0b; }
.stat-card.danger { border-left-color: #ef4444; }
.stat-card.info { border-left-color: #0ea5e9; }
.stat-card.dark { border-left-color: #1e293b; }

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-card.primary .stat-icon { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: var(--primary-color); }
.stat-card.success .stat-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #10b981; }
.stat-card.warning .stat-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #f59e0b; }
.stat-card.danger .stat-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #ef4444; }
.stat-card.info .stat-icon { background: linear-gradient(135deg, #e0f2fe, #cffafe); color: #0ea5e9; }
.stat-card.dark .stat-icon { background: linear-gradient(135deg, #e2e8f0, #cbd5e1); color: #1e293b; }

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* ========== BUTTONS ========== */
.btn {
    border-radius: var(--radius-md);
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4), 0 0 20px rgba(14, 165, 233, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
}

.btn-info {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    border: none;
}

/* ========== BADGES ========== */
.badge {
    padding: 0.5em 0.875em;
    border-radius: 0.625rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ========== FORMS ========== */
.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), 0 0 20px rgba(14, 165, 233, 0.1);
    background: white;
    transform: translateY(-1px);
}

.form-label {
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

/* ========== TABLES ========== */
.table {
    --bs-table-bg: transparent;
}

.table thead th {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    transition: background 0.2s ease;
}

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

.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.03), transparent);
    transform: scale(1.005);
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.2), var(--neon-glow);
    border-color: var(--primary-color);
}

.service-card.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.2);
}

.service-card .service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.15);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.service-card.active .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.service-card .service-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3), 0 0 15px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.2), 0 0 25px rgba(14, 165, 233, 0.6);
}

.timeline-item.completed::before {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 0 15px rgba(16, 185, 129, 0.4);
}

.timeline-item.pending::before {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3), 0 0 15px rgba(245, 158, 11, 0.4);
}

.timeline-date {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* ========== LOGIN CARD ========== */
.login-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow), 0 0 60px rgba(14, 165, 233, 0.1);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    animation: fadeInUp 0.8s ease forwards;
}

.login-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0c4a6e 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.login-header .icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

/* ========== ADMIN SIDEBAR ========== */
.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: white;
    width: 280px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.3);
    border-right: 1px solid rgba(14, 165, 233, 0.1);
}

.admin-sidebar .brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.1), transparent);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.65);
    padding: 1rem 1.5rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 0.25rem 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.15), transparent);
    border-left-color: var(--primary-color);
    box-shadow: inset 0 0 20px rgba(14, 165, 233, 0.05);
}

.admin-sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.admin-sidebar .nav-link:hover i {
    transform: translateX(3px);
}

.admin-main {
    margin-left: 280px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
}

.admin-topbar {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-content {
    padding: 1.5rem;
}

/* ========== IMAGE PREVIEW ========== */
.img-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(14, 165, 233, 0.2);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.img-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ========== ATTACHMENT LINK ========== */
.attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.attachment-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

/* ========== PAGE HEADER ========== */
.page-header {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease forwards;
}

.page-header h1, .page-header h2 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    color: #64748b;
    margin-bottom: 0;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    animation: fadeInUp 0.5s ease forwards;
}

.empty-state .icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.empty-state h4 {
    color: #475569;
    font-weight: 600;
}

.empty-state p {
    color: #64748b;
}

/* ========== MODAL ========== */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.modal-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding: 1rem 1.5rem;
}

/* ========== ALERT ========== */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ========== PAGINATION ========== */
.pagination .page-link {
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    font-weight: 500;
    margin: 0 0.125rem;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.pagination .page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ========== PROGRESS STEPS ========== */
.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e2e8f0, #cbd5e1);
    border-radius: 3px;
}

.progress-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.progress-step .step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
    color: #94a3b8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.progress-step.active .step-circle {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4), 0 4px 15px rgba(14, 165, 233, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.progress-step.completed .step-circle {
    background: linear-gradient(135deg, #10b981, #34d399);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.progress-step .step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========== LOADING / SPINNER ========== */
.spinner-border {
    border-width: 0.15em;
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #94a3b8, #64748b);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.show {
        transform: translateX(0);
    }
    .admin-main {
        margin-left: 0;
    }
    .hero-section {
        padding: 2.5rem 0;
    }
}

/* ========== ANIMATED BACKGROUND SHAPES ========== */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #06b6d4, #0ea5e9);
    bottom: -50px;
    left: -50px;
    animation-delay: -4s;
}

/* ========== CARD HOVER EFFECTS ========== */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.15);
}

/* ========== TEXT GRADIENT ========== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== GRADIENT BORDER ========== */
.gradient-border {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius-lg) + 2px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* ========== SEARCH BOX ========== */
.search-box {
    position: relative;
}

.search-box .form-control {
    padding-left: 2.75rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.5);
}

.search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.3s ease;
}

.search-box .form-control:focus + .search-icon,
.search-box .form-control:focus ~ .search-icon {
    color: var(--primary-color);
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    color: rgba(255,255,255,0.6) !important;
    border-top: 1px solid rgba(14, 165, 233, 0.2) !important;
}

/* ========== LIST GROUP ========== */
.list-group-item {
    border-color: rgba(226, 232, 240, 0.6);
    transition: all 0.2s ease;
}

.list-group-item:hover {
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.03), transparent);
    transform: translateX(5px);
}

/* ========== THEME OVERRIDE FOR ADMIN SETTINGS ========== */
.theme-preview {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.theme-preview:hover {
    transform: scale(1.2);
}

.theme-preview.active {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
    transform: scale(1.15);
}
