/* ============================================================================
   YANSA Lightning Alert System - Custom CSS
   Professional, modern, and easy-to-use design
   ============================================================================ */

:root {
    /* Primary Colors */
    --yansa-primary: #0066cc;
    --yansa-primary-dark: #004c99;
    --yansa-primary-light: #3399ff;
    --yansa-secondary: #00a8e8;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a8e8 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-dark: linear-gradient(135deg, #1e1e2f 0%, #2d2d44 100%);

    /* Alert Colors */
    --alert-green: #28a745;
    --alert-yellow: #ffc107;
    --alert-red: #dc3545;
    --alert-blue: #17a2b8;

    /* Neutral Colors */
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #dee2e6;
    --gray-300: #ced4da;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ============================================================================
   Base Styles
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-800);
}

a {
    color: var(--yansa-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--yansa-primary-dark);
}

/* ============================================================================
   Navbar Styles
   ============================================================================ */

.navbar-yansa {
    background: var(--gradient-primary);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.navbar-yansa.scrolled {
    padding: 0.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.navbar-yansa .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.navbar-yansa .nav-link:hover,
.navbar-yansa .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-yansa .btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
}

.navbar-yansa .btn-outline-light:hover {
    background: white;
    color: var(--yansa-primary);
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero-section {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/lightning-pattern.png') repeat;
    opacity: 0.05;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0, 102, 204, 0.3));
}

.lightning-icon {
    font-size: 10rem;
    color: #ffd700;
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ============================================================================
   Feature Cards
   ============================================================================ */

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--yansa-primary-light);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    color: white;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-500);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================================================
   Statistics Section
   ============================================================================ */

.stats-section {
    background: var(--gradient-dark);
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================================
   Cards & Panels
   ============================================================================ */

.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--gray-100);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

.panel-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-header h5 {
    margin: 0;
    color: white;
    font-weight: 600;
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

/* Language Selector */
#languageSelectorContainer .dropdown-menu {
    min-width: 140px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

#languageSelectorContainer .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

#languageSelectorContainer .dropdown-item.active {
    background-color: var(--yansa-primary);
    color: white;
}

#languageSelectorContainer .dropdown-item:hover:not(.active) {
    background-color: var(--gray-100);
}

[data-bs-theme="dark"] #languageSelectorContainer .dropdown-menu {
    background-color: var(--gray-700);
    border-color: var(--gray-600);
}

[data-bs-theme="dark"] #languageSelectorContainer .dropdown-item {
    color: var(--gray-200);
}

[data-bs-theme="dark"] #languageSelectorContainer .dropdown-item:hover:not(.active) {
    background-color: var(--gray-600);
}

.btn-floating {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

/* ============================================================================
   Forms
   ============================================================================ */

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-200);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--yansa-primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.input-group-text {
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-500);
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
}

/* ============================================================================
   Tables
   ============================================================================ */

.table-modern {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-modern thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    padding: 1rem;
}

.table-modern tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
}

.table-modern tbody tr:hover {
    background: var(--gray-50);
}

/* ============================================================================
   Sidebar Navigation
   ============================================================================ */

.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--gray-100);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: transform var(--transition-normal), width var(--transition-normal);
    overflow-y: auto;
}

/* Collapsed sidebar state for desktop */
@media (min-width: 992px) {
    .sidebar.collapsed {
        transform: translateX(-100%);
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-header img {
    height: 40px;
    width: auto;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav .nav-item {
    margin: 0.25rem 0.75rem;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sidebar-nav .nav-link:hover {
    background: var(--gray-50);
    color: var(--yansa-primary);
}

.sidebar-nav .nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.sidebar-nav .nav-link i {
    font-size: 1.25rem;
    width: 24px;
}

/* ============================================================================
   Main Content
   ============================================================================ */

.main-content {
    margin-left: 280px;
    min-height: 100vh;
    background: var(--gray-50);
    transition: margin var(--transition-normal);
}

.main-content.expanded {
    margin-left: 0;
}

.content-header {
    background: white;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-header h4 {
    margin: 0;
    font-weight: 600;
}

.content-body {
    padding: 2rem;
}

/* ============================================================================
   Dashboard Cards
   ============================================================================ */

.dashboard-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.dashboard-card .card-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.dashboard-card .card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
}

.dashboard-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* ============================================================================
   Alert Status Cards
   ============================================================================ */

.alert-status-card {
    border-radius: var(--radius-md);
    padding: 1.25rem;
    color: white;
    transition: transform var(--transition-fast);
}

.alert-status-card:hover {
    transform: scale(1.02);
}

.alert-status-card.status-green {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.alert-status-card.status-yellow {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: var(--gray-800);
}

.alert-status-card.status-red {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.alert-status-card.status-blue {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

/* ============================================================================
   Modern Alert Cards (Beautiful Version)
   ============================================================================ */

.alert-card-modern {
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.alert-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.alert-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.2);
}

.alert-card-modern:hover::before {
    opacity: 0.1;
}

.alert-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 1.75rem;
    opacity: 0.9;
}

.alert-card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.alert-card-status {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

/* Green Card - No Risk */
.alert-card-green {
    background: linear-gradient(145deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.alert-card-green .alert-card-icon {
    color: #155724;
}

.alert-card-green:hover {
    border-color: #20c997;
    box-shadow: 0 12px 24px rgba(40, 167, 69, 0.25);
}

/* Yellow Card - Warning */
.alert-card-yellow {
    background: linear-gradient(145deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    color: #856404;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.alert-card-yellow .alert-card-icon {
    color: #856404;
}

.alert-card-yellow:hover {
    border-color: #fd7e14;
    box-shadow: 0 12px 24px rgba(255, 193, 7, 0.25);
}

/* Red Card - Emergency */
.alert-card-red {
    background: linear-gradient(145deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    animation: pulse-red 2s infinite;
}

.alert-card-red .alert-card-icon {
    color: #721c24;
}

.alert-card-red:hover {
    border-color: #c82333;
    box-shadow: 0 12px 24px rgba(220, 53, 69, 0.25);
    animation: none;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(220, 53, 69, 0.35);
    }
}

/* Blue Card - End of Alert */
.alert-card-blue {
    background: linear-gradient(145deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
    color: #0c5460;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.15);
}

.alert-card-blue .alert-card-icon {
    color: #0c5460;
}

.alert-card-blue:hover {
    border-color: #138496;
    box-shadow: 0 12px 24px rgba(23, 162, 184, 0.25);
}

/* Dark theme support for modern cards */
[data-bs-theme="dark"] .alert-card-green {
    background: linear-gradient(145deg, rgba(40, 167, 69, 0.2) 0%, rgba(32, 201, 151, 0.15) 100%);
    color: #75d9a3;
}
[data-bs-theme="dark"] .alert-card-green .alert-card-icon {
    color: #75d9a3;
}

[data-bs-theme="dark"] .alert-card-yellow {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.2) 0%, rgba(253, 126, 20, 0.15) 100%);
    color: #ffe066;
}
[data-bs-theme="dark"] .alert-card-yellow .alert-card-icon {
    color: #ffe066;
}

[data-bs-theme="dark"] .alert-card-red {
    background: linear-gradient(145deg, rgba(220, 53, 69, 0.2) 0%, rgba(200, 35, 51, 0.15) 100%);
    color: #f5a5ad;
}
[data-bs-theme="dark"] .alert-card-red .alert-card-icon {
    color: #f5a5ad;
}

[data-bs-theme="dark"] .alert-card-blue {
    background: linear-gradient(145deg, rgba(23, 162, 184, 0.2) 0%, rgba(19, 132, 150, 0.15) 100%);
    color: #7dd3e1;
}
[data-bs-theme="dark"] .alert-card-blue .alert-card-icon {
    color: #7dd3e1;
}

/* Nested Card Styles */
.nested-card {
    opacity: 0.9;
    border-style: dashed !important;
    border-width: 3px !important;
}

.nested-card:hover {
    opacity: 1;
}

.nested-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 2px 6px;
    margin-left: 4px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.alert-card-green .nested-badge {
    background: rgba(40, 167, 69, 0.3);
}

.alert-card-yellow .nested-badge {
    background: rgba(255, 193, 7, 0.3);
}

.alert-card-red .nested-badge {
    background: rgba(220, 53, 69, 0.3);
}

.alert-card-blue .nested-badge {
    background: rgba(23, 162, 184, 0.3);
}

[data-bs-theme="dark"] .nested-badge {
    background: rgba(255, 255, 255, 0.2);
}

/* Alert Card Sensors Section */
.alert-card-sensors {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.alert-card-sensor-count {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    opacity: 0.8;
}

.alert-card-sensor-count i {
    font-size: 0.75rem;
    margin-right: 3px;
}

.alert-card-sensor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    max-height: 60px;
    overflow-y: auto;
}

.sensor-chip {
    display: inline-block;
    font-size: 0.6rem;
    padding: 2px 5px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    font-weight: 500;
    white-space: nowrap;
}

/* Color-specific sensor chips */
.alert-card-green .sensor-chip {
    background: rgba(40, 167, 69, 0.25);
    color: #155724;
}

.alert-card-yellow .sensor-chip {
    background: rgba(255, 193, 7, 0.3);
    color: #856404;
}

.alert-card-red .sensor-chip {
    background: rgba(220, 53, 69, 0.25);
    color: #721c24;
}

.alert-card-blue .sensor-chip {
    background: rgba(23, 162, 184, 0.25);
    color: #0c5460;
}

/* Dark theme support */
[data-bs-theme="dark"] .alert-card-sensors {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .sensor-chip {
    background: rgba(255, 255, 255, 0.15);
    color: inherit;
}

/* Scrollbar styling for sensor list */
.alert-card-sensor-list::-webkit-scrollbar {
    width: 3px;
}

.alert-card-sensor-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.alert-card-sensor-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.alert-card-sensor-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   Sensor Cards
   ============================================================================ */

.sensor-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 2px solid var(--gray-100);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.sensor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sensor-card.online {
    border-color: var(--alert-green);
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.sensor-card.offline {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.sensor-card .sensor-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.sensor-card .sensor-status {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ============================================================================
   Map Container
   ============================================================================ */

.map-container {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container #map {
    height: 450px;
    width: 100%;
}

/* ============================================================================
   Chart Container
   ============================================================================ */

.chart-container {
    background: white;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.chart-container canvas,
.chart-container .plotly-graph-div {
    width: 100% !important;
}

/* ============================================================================
   Tabs
   ============================================================================ */

.nav-tabs-custom {
    border-bottom: 2px solid var(--gray-100);
    gap: 0.5rem;
}

.nav-tabs-custom .nav-link {
    border: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-tabs-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--yansa-primary);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-tabs-custom .nav-link.active::after,
.nav-tabs-custom .nav-link:hover::after {
    transform: scaleX(1);
}

.nav-tabs-custom .nav-link.active {
    color: var(--yansa-primary);
    background: transparent;
}

/* ============================================================================
   Modal Customization
   ============================================================================ */

.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--gray-100);
    padding: 1.25rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-100);
    padding: 1rem 1.5rem;
}

/* ============================================================================
   Toast / Notifications
   ============================================================================ */

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

.toast {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.toast-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.toast-error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.toast-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: var(--gray-800);
}

/* ============================================================================
   Loading Spinner
   ============================================================================ */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border-lg {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    background: #1a1a2e;
    color: white;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer .form-control {
    background: #252540;
    border-color: #353555;
    color: #e0e0f0;
}

.footer .form-control::placeholder {
    color: #8888a8;
}

/* ============================================================================
   Team Cards
   ============================================================================ */

.team-card {
    text-align: center;
    padding: 1.5rem 1rem;
}

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
}

.team-card h5 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.team-card .role {
    color: var(--yansa-primary);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--gray-500);
    font-size: 0.8rem;
    line-height: 1.4;
}

@media (min-width: 992px) {
    .team-card {
        padding: 1.5rem;
    }

    .team-card img {
        width: 110px;
        height: 110px;
    }

    .team-card h5 {
        font-size: 1rem;
    }
}

/* ============================================================================
   Login Page
   ============================================================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
}

.login-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 420px;
}

.login-card .logo {
    text-align: center;
    margin-bottom: 2rem;
}

.login-card .logo img {
    height: 50px;
    margin-bottom: 0.75rem;
}

.login-card h4 {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ============================================================================
   Responsive Styles
   ============================================================================ */

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .content-body {
        padding: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ============================================================================
   Dark Mode
   ============================================================================ */

[data-bs-theme="dark"] {
    --gray-50: #1a1a2e;
    --gray-100: #252540;
    --gray-200: #353555;
    --gray-300: #4a4a6a;
    --gray-400: #8888a8;
    --gray-500: #9999b8;
    --gray-600: #c8c8e0;
    --gray-700: #e0e0f0;
    --gray-800: #f0f0ff;
}

[data-bs-theme="dark"] body {
    background-color: #0d0d1a;
    color: #e0e0f0;
}

/* Dark mode headings */
[data-bs-theme="dark"] h1,
[data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3,
[data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5,
[data-bs-theme="dark"] h6 {
    color: #f0f0ff;
}

/* Sidebar */
[data-bs-theme="dark"] .sidebar {
    background: #151528;
    border-color: #252540;
}

[data-bs-theme="dark"] .sidebar-header {
    border-color: #252540;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link {
    color: #9999b8;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link:hover {
    background: #1e1e35;
    color: #00a8e8;
}

/* Content Header */
[data-bs-theme="dark"] .content-header {
    background: #151528;
    border-color: #252540;
}

/* Main Content */
[data-bs-theme="dark"] .main-content {
    background: #0d0d1a;
}

/* Cards and Panels */
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .feature-card,
[data-bs-theme="dark"] .dashboard-card,
[data-bs-theme="dark"] .chart-container,
[data-bs-theme="dark"] .map-container {
    background: #1a1a2e;
    border-color: #252540;
}

[data-bs-theme="dark"] .card-header {
    background: #1e1e35;
    border-color: #252540;
    color: #e0e0f0;
}

[data-bs-theme="dark"] .card-body {
    background: #1a1a2e;
}

/* Quick Access Cards on Dashboard */
[data-bs-theme="dark"] .quick-access-card {
    background: #1a1a2e;
    border-color: #252540;
}

[data-bs-theme="dark"] .quick-access-card:hover {
    background: #1e1e38;
    border-color: #353555;
}

/* Tables */
[data-bs-theme="dark"] .table {
    --bs-table-bg: #1a1a2e;
    --bs-table-color: #e0e0f0;
    --bs-table-border-color: #252540;
    --bs-table-striped-bg: #1e1e35;
    --bs-table-hover-bg: #252545;
}

[data-bs-theme="dark"] .table-modern {
    background: #1a1a2e;
}

[data-bs-theme="dark"] .table-modern thead th {
    background: #1e1e35;
    color: #9999b8;
    border-color: #353555;
}

[data-bs-theme="dark"] .table-modern tbody td {
    border-color: #252540;
    color: #e0e0f0;
}

[data-bs-theme="dark"] .table-modern tbody tr:hover {
    background: #252545;
}

/* Bootstrap table overrides */
[data-bs-theme="dark"] .table > :not(caption) > * > * {
    background-color: #1a1a2e;
    color: #e0e0f0;
    border-color: #252540;
}

[data-bs-theme="dark"] .table-hover > tbody > tr:hover > * {
    background-color: #252545;
}

/* Forms */
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background: #252540;
    border-color: #353555;
    color: #e0e0f0;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background: #2a2a48;
    border-color: var(--yansa-primary);
    color: #f0f0ff;
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #6666888;
}

[data-bs-theme="dark"] .form-label {
    color: #c8c8e0;
}

[data-bs-theme="dark"] .input-group-text {
    background: #1e1e35;
    border-color: #353555;
    color: #9999b8;
}

/* Sensor Cards */
[data-bs-theme="dark"] .sensor-card {
    background: #1a1a2e;
    border-color: #252540;
}

[data-bs-theme="dark"] .sensor-card:hover {
    background: #1e1e38;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .sensor-card.online {
    background: linear-gradient(135deg, #1a3329 0%, #1e3d30 100%);
    border-color: var(--alert-green);
}

[data-bs-theme="dark"] .sensor-card.offline {
    background: #1e1e30;
    border-color: #353555;
}

/* Modals */
[data-bs-theme="dark"] .modal-content {
    background: #1a1a2e;
    border-color: #252540;
}

[data-bs-theme="dark"] .modal-header {
    border-color: #252540;
    background: #1e1e35;
}

[data-bs-theme="dark"] .modal-header .modal-title {
    color: #f0f0ff;
}

[data-bs-theme="dark"] .modal-body {
    background: #1a1a2e;
    color: #e0e0f0;
}

[data-bs-theme="dark"] .modal-footer {
    border-color: #252540;
    background: #1e1e35;
}

[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Buttons in dark mode */
[data-bs-theme="dark"] .btn-outline-primary {
    color: #3399ff;
    border-color: #3399ff;
}

[data-bs-theme="dark"] .btn-outline-primary:hover {
    background: #3399ff;
    color: #fff;
}

[data-bs-theme="dark"] .btn-outline-danger {
    color: #ff6b6b;
    border-color: #ff6b6b;
}

[data-bs-theme="dark"] .btn-outline-danger:hover {
    background: #ff6b6b;
    color: #fff;
}

/* Dropdowns */
[data-bs-theme="dark"] .dropdown-menu {
    background: #1e1e35;
    border-color: #353555;
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e0e0f0;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background: #252545;
    color: #f0f0ff;
}

/* Loading overlay */
[data-bs-theme="dark"] .loading-overlay {
    background: rgba(13, 13, 26, 0.95);
}

[data-bs-theme="dark"] .loading-overlay .text-muted {
    color: #9999b8 !important;
}

/* Badges */
[data-bs-theme="dark"] .badge.bg-secondary {
    background: #353555 !important;
    color: #e0e0f0;
}

/* Text colors */
[data-bs-theme="dark"] .text-muted {
    color: #8888a8 !important;
}

[data-bs-theme="dark"] .text-dark {
    color: #e0e0f0 !important;
}

/* Borders */
[data-bs-theme="dark"] .border {
    border-color: #252540 !important;
}

[data-bs-theme="dark"] .border-bottom {
    border-color: #252540 !important;
}

/* List groups */
[data-bs-theme="dark"] .list-group-item {
    background: #1a1a2e;
    border-color: #252540;
    color: #e0e0f0;
}

/* Accordion */
[data-bs-theme="dark"] .accordion-item {
    background: #1a1a2e;
    border-color: #252540;
}

[data-bs-theme="dark"] .accordion-button {
    background: #1e1e35;
    color: #e0e0f0;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background: #252545;
    color: var(--yansa-primary-light);
}

/* Scrollbar */
[data-bs-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-track {
    background: #1a1a2e;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #353555;
    border-radius: 4px;
}

[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #4a4a6a;
}

/* Specific dashboard elements */
[data-bs-theme="dark"] .content-body {
    background: #0d0d1a;
}

/* User profile section in sidebar */
[data-bs-theme="dark"] .sidebar-footer {
    background: #151528;
    border-color: #252540;
}

/* Nav pills */
[data-bs-theme="dark"] .nav-pills .nav-link {
    color: #9999b8;
}

[data-bs-theme="dark"] .nav-pills .nav-link:hover {
    color: #e0e0f0;
}

/* Alerts */
[data-bs-theme="dark"] .alert-info {
    background: rgba(0, 168, 232, 0.15);
    border-color: rgba(0, 168, 232, 0.3);
    color: #7dd3fc;
}

[data-bs-theme="dark"] .alert-warning {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.3);
    color: #fcd34d;
}

[data-bs-theme="dark"] .alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #fca5a5;
}

/* Bootstrap specific dark overrides */
[data-bs-theme="dark"] .bg-white {
    background-color: #1a1a2e !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #1e1e35 !important;
}

[data-bs-theme="dark"] .shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-bs-theme="dark"] .shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

[data-bs-theme="dark"] .shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

/* Landing page sections in dark mode */
[data-bs-theme="dark"] section {
    background-color: #0d0d1a;
}

[data-bs-theme="dark"] section.bg-light {
    background-color: #151528 !important;
}

[data-bs-theme="dark"] .hero-section {
    background: var(--gradient-hero);
}

[data-bs-theme="dark"] .stats-section {
    background: var(--gradient-dark);
}

[data-bs-theme="dark"] #contact {
    background-color: #0d0d1a;
}

[data-bs-theme="dark"] #contact .card {
    background: #1a1a2e;
    border-color: #252540;
}

[data-bs-theme="dark"] #team {
    background-color: #151528 !important;
}

[data-bs-theme="dark"] .team-card {
    background: #1a1a2e;
}

[data-bs-theme="dark"] .team-card img {
    border-color: #353555;
}

/* Video Section */
#video-section .card {
    border-radius: 1rem;
}

#video-section video {
    border-radius: 1rem;
    background: #000;
}

[data-bs-theme="dark"] #video-section {
    background-color: #0d0d1a;
}

[data-bs-theme="dark"] #video-section .card {
    background: #1a1a2e;
}

/* About Section & Carousel */
#about {
    background-color: var(--gray-50);
}

[data-bs-theme="dark"] #about {
    background-color: #0d0d1a;
}

.carousel {
    border-radius: 1rem;
}

.carousel-item img {
    border-radius: 1rem;
}

[data-bs-theme="dark"] .carousel {
    background: #1a1a2e;
}

[data-bs-theme="dark"] .carousel-control-prev-icon,
[data-bs-theme="dark"] .carousel-control-next-icon {
    filter: none;
}

[data-bs-theme="dark"] .carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] .carousel-indicators button.active {
    background-color: white;
}

/* Footer always dark */
.footer,
[data-bs-theme="dark"] .footer {
    background: #1a1a2e !important;
}

/* Notification Sidebar Dark Mode */
[data-bs-theme="dark"] .notification-sidebar {
    background: #1e1e2d;
    border-left: 1px solid #2d2d3d;
}

[data-bs-theme="dark"] .notification-sidebar-header {
    border-bottom-color: #2d2d3d;
}

[data-bs-theme="dark"] .notification-sidebar-body {
    background: #1e1e2d;
}

[data-bs-theme="dark"] .alert-item {
    border-bottom-color: #2d2d3d;
}

[data-bs-theme="dark"] .alert-item:hover {
    background-color: #2a2a3d;
}

[data-bs-theme="dark"] .alert-item.unread {
    background-color: rgba(0, 102, 204, 0.15);
    border-left-color: var(--yansa-primary);
}

[data-bs-theme="dark"] .alert-item .alert-area {
    color: #e0e0e0;
}

[data-bs-theme="dark"] .alert-item .alert-time {
    color: #888;
}

[data-bs-theme="dark"] .alert-status-badge {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .notification-sidebar .text-muted {
    color: #888 !important;
}

/* ============================================================================
   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-dark {
    background: var(--gradient-dark);
}

.shadow-soft {
    box-shadow: var(--shadow-sm);
}

.shadow-medium {
    box-shadow: var(--shadow-md);
}

.shadow-strong {
    box-shadow: var(--shadow-lg);
}

.rounded-lg {
    border-radius: var(--radius-lg) !important;
}

.rounded-xl {
    border-radius: var(--radius-xl) !important;
}

.hover-lift {
    transition: transform var(--transition-fast);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.cursor-pointer {
    cursor: pointer;
}

.transition-all {
    transition: all var(--transition-normal);
}

/* ============================================================================
   Table Sorting and Pagination
   ============================================================================ */

.sortable {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sortable:hover {
    background-color: var(--gray-100);
}

.sortable .sort-icon {
    opacity: 0.4;
    margin-left: 4px;
    font-size: 0.75rem;
}

.sortable.sort-asc .sort-icon,
.sortable.sort-desc .sort-icon {
    opacity: 1;
    color: var(--yansa-primary);
}

.sortable.sort-asc .sort-icon::before {
    content: "\F282"; /* bi-chevron-up */
}

.sortable.sort-desc .sort-icon::before {
    content: "\F285"; /* bi-chevron-down */
}

.pagination .page-link {
    border-radius: var(--radius-sm);
    margin: 0 2px;
    border: none;
    color: var(--gray-600);
}

.pagination .page-link:hover {
    background-color: var(--gray-100);
    color: var(--yansa-primary);
}

.pagination .page-item.active .page-link {
    background-color: var(--yansa-primary);
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: var(--gray-400);
    background-color: transparent;
}

/* Table Row Hover Effect */
.table-modern tbody tr {
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.table-modern tbody tr:hover {
    background-color: rgba(0, 102, 204, 0.06);
    cursor: pointer;
}

.table-modern tbody tr:hover td {
    color: var(--gray-800);
}

/* ============================================================================
   Notification Sidebar
   ============================================================================ */

.notification-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 1060;
    transition: right var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.notification-sidebar.open {
    right: 0;
}

.notification-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gradient-primary);
    color: white;
}

.notification-sidebar-header h5 {
    color: white;
}

.notification-sidebar-header .btn-icon {
    color: white;
    opacity: 0.8;
}

.notification-sidebar-header .btn-icon:hover {
    opacity: 1;
}

.notification-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.notification-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.notification-sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Alert Item Styles */
.alert-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background-color var(--transition-fast);
}

.alert-item:hover {
    background-color: var(--gray-50);
}

.alert-item.unread {
    background-color: rgba(0, 102, 204, 0.05);
    border-left: 3px solid var(--yansa-primary);
}

.alert-item .alert-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.alert-item .alert-area {
    font-weight: 600;
    color: var(--gray-800);
}

.alert-item .alert-time {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.alert-item .alert-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.alert-item .alert-status.status-green {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--alert-green);
}

.alert-item .alert-status.status-yellow {
    background-color: rgba(255, 193, 7, 0.15);
    color: #b38600;
}

.alert-item .alert-status.status-red {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--alert-red);
}

.alert-item .alert-status.status-blue {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--alert-blue);
}

.alert-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.alert-status-indicator.green { background-color: var(--alert-green); }
.alert-status-indicator.yellow { background-color: var(--alert-yellow); }
.alert-status-indicator.red { background-color: var(--alert-red); }
.alert-status-indicator.blue { background-color: var(--alert-blue); }

/* Alert Status Badge - for notification sidebar */
.alert-status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Notification Badge Animation */
.notification-badge {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .notification-sidebar {
        width: 100vw;
        right: -100vw;
    }
}

/* ============================================================================
   MAP RULER TOOL
   ============================================================================ */

/* Ruler distance label styling */
.ruler-label {
    background-color: rgba(0, 0, 0, 0.8) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    border: 2px solid #ffffff !important;
}

/* Dark theme ruler label */
[data-bs-theme="dark"] .ruler-label {
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}
