/* WiFi HaLow Testing System Styles */

:root {
    --navy: #1e3c72;
    --navy-light: #2a5298;
    --navy-dark: #1a2f5a;
    --gray: #6c757d;
    --gray-light: #f8f9fa;
    --green: #28a745;
    --orange: #fd7e14;
    --white: #ffffff;
    --sidebar-width: 260px;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Badge Styles */
.badge-glow {
    box-shadow: 0 0 10px rgba(0,123,255,0.5);
}

/* Progress Bar Custom */
.progress-custom {
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-custom .progress-bar {
    transition: width 0.6s ease;
}

/* Alert Custom */
.alert-custom {
    border-left: 4px solid;
    border-radius: 4px;
}

.alert-custom.alert-success {
    border-left-color: #28a745;
    background: #d4edda;
}

.alert-custom.alert-warning {
    border-left-color: #ffc107;
    background: #fff3cd;
}

.alert-custom.alert-danger {
    border-left-color: #dc3545;
    background: #f8d7da;
}

/* Button Styles */
.btn-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.4);
    color: white;
}

/* Input Focus */
.form-control:focus,
.form-select:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
}

/* Table Styles */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table-custom th {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table-custom td {
    padding: 12px 15px;
    background: white;
}

.table-custom tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}

/* Status Indicator */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-dot.active {
    background: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

.status-dot.warning {
    background: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.status-dot.danger {
    background: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

/* Metric Card */
.metric-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-top: 4px solid #1e3c72;
    transition: all 0.3s;
}

.metric-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1e3c72;
}

.metric-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sidebar Styles */
.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin: 5px 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.sidebar-nav i {
    width: 24px;
    margin-right: 12px;
    text-align: center;
}

/* Chart Container */
.chart-wrapper {
    position: relative;
    height: 350px;
    width: 100%;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Modal Custom */
.modal-custom {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content-custom {
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Tooltip Custom */
.tooltip-custom {
    --bs-tooltip-bg: #1e3c72;
    --bs-tooltip-color: white;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .sidebar,
    .header {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1000;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: #1e3c72;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* Data Export Button */
.btn-export {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    color: white;
}

/* Quick Stat Card */
.quick-stat {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #1e3c72;
}

.quick-stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e3c72;
}

.quick-stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1e3c72;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1e3c72;
    border: 2px solid white;
}

/* Form Validation */
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

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

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

/* Scroll Reveal */
.js-scroll {
    opacity: 0;
    transition: opacity 0.5s;
}

.js-scroll.scrolled {
    opacity: 1;
}

/* Custom Range Input */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #1e3c72;
    cursor: pointer;
    margin-top: -8px;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #dee2e6;
    border-radius: 2px;
}

/* Floating Label */
.form-floating > label {
    color: #6c757d;
}

/* Custom Checkbox */
.form-check-input:checked {
    background-color: #1e3c72;
    border-color: #1e3c72;
}

/* Custom Select */
.form-select:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}

/* Accordion */
.accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

/* Code Block */
.code-block {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Alert Toast */
.alert-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 300px;
    z-index: 9999;
    animation: toastSlide 0.5s ease;
}

@keyframes toastSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Progress Step */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.progress-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.progress-step.active .progress-step-icon {
    border-color: #1e3c72;
    background: #1e3c72;
    color: white;
}

.progress-step.completed .progress-step-icon {
    border-color: #28a745;
    background: #28a745;
    color: white;
}

.progress-step-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
}

.progress-step.active .progress-step-label,
.progress-step.completed .progress-step-label {
    color: #1e3c72;
    font-weight: 600;
}

/* Tab Custom */
.nav-tabs-custom .nav-link {
    border: none;
    color: #6c757d;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-tabs-custom .nav-link:hover {
    color: #1e3c72;
    background: rgba(30, 60, 114, 0.05);
}

.nav-tabs-custom .nav-link.active {
    color: #1e3c72;
    background: rgba(30, 60, 114, 0.1);
    border-bottom: 3px solid #1e3c72;
}

/* Data Card */
.data-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.data-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.data-card-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
}

.data-card-body {
    padding: 20px;
}

/* Metric Grid */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.metric-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.metric-item-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(30, 60, 114, 0.1);
    color: #1e3c72;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}

.metric-item-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e3c72;
}

.metric-item-label {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Custom Button Group */
.btn-group-custom {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-group-custom .btn {
    flex: 1;
    min-width: 120px;
}

/* Status Indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-indicator-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.status-indicator-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-indicator-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.status-indicator-info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: loading-spinner 0.75s linear infinite;
}

@keyframes loading-spinner {
    to { transform: rotate(360deg); }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 30px;
    border-radius: 0 0 20px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header .lead {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Card Stats */
.card-stats {
    position: relative;
    overflow: hidden;
}

.card-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72 0%, #2a5298 100%);
}

/* Data Table Custom */
.data-table-custom {
    width: 100%;
    border-collapse: collapse;
}

.data-table-custom th {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.data-table-custom td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
    background: white;
}

.data-table-custom tr:hover td {
    background: rgba(30, 60, 114, 0.05);
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

.form-group .form-control,
.form-group .form-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.form-group .form-control:focus,
.form-group .form-select:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

/* Card with Icon */
.card-icon {
    position: relative;
    overflow: visible;
}

.card-icon .icon-wrapper {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(30, 60, 114, 0.3);
}

/* Timeline Vertical */
.timeline-vertical {
    position: relative;
    padding-left: 30px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
}

.timeline-item-vertical {
    position: relative;
    padding-left: 20px;
    padding-bottom: 30px;
}

.timeline-item-vertical::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #1e3c72;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #1e3c72;
}

.timeline-item-vertical .timeline-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Alert Custom */
.alert-custom {
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
}

.alert-custom .alert-icon {
    margin-right: 12px;
    font-size: 1.2rem;
}

.alert-custom.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: #117a8b;
}

.alert-custom.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
}

.alert-custom.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.alert-custom.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

/* Badge Glow Animation */
.badge-glow-animate {
    animation: badgeGlow 2s infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8);
    }
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    animation: staggerIn 0.5s ease forwards;
}

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

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Morphing Background */
.morph-bg {
    background: linear-gradient(45deg, #1e3c72 0%, #2a5298 25%, #1e3c72 50%, #2a5298 75%, #1e3c72 100%);
    background-size: 200% 200%;
    animation: morph 10s ease infinite;
}

@keyframes morph {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Flip */
.card-flip {
    perspective: 1000px;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-flip:hover .card-flip-inner {
    transform: rotateY(180deg);
}

.card-flip-front, .card-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card-flip-back {
    transform: rotateY(180deg);
}

/* Custom Tooltip */
.tooltip-custom .tooltip-inner {
    background: #1e3c72;
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
}

.tooltip-custom .tooltip-arrow::before {
    border-top-color: #1e3c72;
}

/* Custom Progress */
.progress {
    height: 10px;
    border-radius: 5px;
    background: #e9ecef;
    overflow: visible;
}

.progress-bar {
    border-radius: 5px;
    position: relative;
    overflow: visible;
}

.progress-bar span {
    position: absolute;
    right: -50px;
    top: -25px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

/* Custom Modal */
.modal-dialog {
    max-width: 600px;
}

.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    padding: 20px 25px;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 25px;
}

/* Custom Toast */
.toast {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.toast-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border: none;
    border-radius: 12px 12px 0 0;
}

/* Print Styles */
@media print {
    .no-print, .btn, .sidebar, .header {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
        padding: 0;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
    
    .data-table {
        border: 1px solid #dee2e6 !important;
    }
}

/* Responsive Utilities */
@media (max-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
    
    .d-sm-none {
        display: none !important;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.1) !important;
}

.shadow-sm-custom {
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.05) !important;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #1e3c72, #2a5298) border-box;
    border-radius: 8px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid #1e3c72;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000 !important;
    }
    
    .btn {
        border: 2px solid #000 !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .data-table th {
        background: #1a202c;
    }
}
