/* Custom styles for AdminLTE-4 login page */
.card.card-outline {
    border-top: 3px solid #07b6d5;
}

.btn-primary {
    background-color: #07b6d5;
    border-color: #07b6d5;
}

.btn-primary:hover {
    background-color: #0098b3;
    border-color: #0098b3;
}

.login-box-msg,
.form-check-label,
.form-floating > label {
    color: #000000;
}
/* .app-sidebar .nav-link.active {
    background-color: #07b6d5 !important;
}

.app-sidebar .nav-link.active:hover {
    background-color: #166337 !important;
} */



/* Security Stats Section */
.security-stats {
    margin-bottom: 20px;
}

/* Custom Info Box Styling with icon on right and zoom effect */
.security-stats .info-box {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, var(--bs-body-bg), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
    width: 100%;
}

.security-stats .info-box:hover {
    transform: scale(1.05); /* Zoom in effect */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.security-stats .info-box-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    line-height: 60px;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Removed bg classes, adding colors via specific classes */
}

.security-stats .info-box-content {
    padding: 16px 20px 16px 20px;
    flex-grow: 1;
    text-align: left;
}

.security-stats .info-box-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.security-stats .info-box-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2px;
    display: block;
}

.security-stats .info-box-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    display: block;
}

/* Specific background colors for each info box */
.security-stats .info-box:nth-child(1) .info-box-icon { background-color: #0d6efd; } /* Total Alerts - Blue */
.security-stats .info-box:nth-child(2) .info-box-icon { background-color: #dc3545; } /* Critical Incidents - Red */
.security-stats .info-box:nth-child(3) .info-box-icon { background-color: #ffc107; } /* Active Threats - Yellow */
.security-stats .info-box:nth-child(4) .info-box-icon { background-color: #198754; } /* Affected Users - Green */


/* Responsive adjustments */
@media (max-width: 768px) {
    .security-stats .info-box {
        min-height: 70px;
    }
    
    .security-stats .info-box-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        line-height: 50px;
    }
    
    .security-stats .info-box-content {
        padding: 12px 16px;
    }
}


/* Top Metrics Section */

.top-metrics .card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
}

.top-metrics .card-header.bg-gradient {
    background: linear-gradient(145deg, #1e1e2e, #2d2d3b);
    border-bottom: 1px solid #40444b;
    padding: 12px 15px;
}

.top-metrics .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.top-metrics .card-body {
    padding: 15px;
    background: #2d2d3b;
    color: #fff;
}

.top-metrics .d-flex.align-items-center.mb-3 {
    margin-bottom: 15px;
}

.top-metrics .text-bold.text-lg {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.top-metrics .text-sm.text-muted {
    font-size: 0.85rem;
    color: #adb5bd;
}

.top-metrics .text-muted {
    color: #adb5bd !important;
    font-size: 0.9rem;
}

.top-metrics .text-xs.text-muted {
    color: #6c757d !important;
    font-size: 0.75rem;
    margin-left: 12px;
}

.top-metrics .flex-grow-1.ms-3 {
    text-align: right;
}

.top-metrics .bi-bell, .top-metrics .bi-shield-fill {
    font-size: 0.9rem;
    vertical-align: middle;
}

.top-metrics .bi-arrow-up {
    font-size: 0.8rem;
    color: inherit;
}

/* Responsive adjustments for top metrics */
@media (max-width: 768px) {
    .top-metrics .d-flex.justify-content-between.align-items-center.mb-2 {
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }
    
    .top-metrics .text-bold.text-lg {
        font-size: 1.2rem;
    }
    
    .top-metrics .card-body {
        padding: 10px;
    }
}

/*  */
a { color: #07b6d5; }
#main { background: #070a13; padding: 0; }
.card { background: #090e18;   box-shadow: 0 0 10px rgba(6, 182, 212, .1); border-color: rgba(7, 182, 213, 0.2); }
.card-header { border-color: rgba(7, 182, 213, 0.2); }
.info-box.custom-info-box { background: #090e18; box-shadow: 0 0 10px rgba(6, 182, 212, .1); border: 1px solid rgba(7, 182, 213, 0.2); color: #fff; transition: all 0.4s;}
.info-box.custom-info-box:hover { transform: scale(1.05); }
#navigation { background: #090e18 !important; border-bottom: 1px solid rgba(7, 182, 213, 0.2); }
.app-footer{background: #090e18 !important; border-top: 1px solid rgba(7, 182, 213, 0.2); }
.app-sidebar { background: #090e18 !important; border-right: 1px solid rgba(7, 182, 213, 0.2); }
#navigation a { color: #fff; }
.app-wrapper { background: #090e18 !important; }
.sidebar-brand { border-bottom: 1px solid rgba(7, 182, 213, 0.2); }
.card-body h4 { color: #fff; }
.info-box-icon i { color: #07b6d5; text-shadow: 0 0 5px rgba(255,255,255,0.2); }
.nav.nav-pills { gap: 8px; padding: 8px; }
.nav.nav-pills li { border: 0 !important; }
.nav.nav-pills li a { background: #131b29; color: #fff; border: 1px solid rgba(29, 40, 58, 0.5);  transition: all 0.4s;}
.nav.nav-pills li a:hover{border-color: #0f495c;}
.distribution-list { max-height: 305px; overflow: auto; }
.distribution-list li.nav-item { width: calc(50% - 4px); }
.card-footer { border-color: rgba(7, 182, 213, 0.2); }

.app-footer a, .app-footer { color: #fff; }

table.dataTable th, table.dataTable td { background: #131b29; border-color: rgba(7, 182, 213, 0.2); }

.dataTables_wrapper .form-control, .dataTables_wrapper .form-select { background-color: #131b29; border-color: rgba(7, 182, 213, 0.2); }

.pagination { gap: 8px; }
.page-link { color: #fff; background: #131b29 !important; }
.page-link.active, .active > .page-link{border-color: #07b6d5;}

.app-sidebar .nav-link.active { background-color: #07b6d5 !important; }
.app-sidebar .nav-link.active:hover { background-color: #07b6d5 !important; }

.card.metrics-card { background: #090e18 !important; box-shadow: 0 0 10px rgba(6, 182, 212, .1); border: 1px solid rgba(7, 182, 213, 0.2); color: #fff; }
.card.metrics-card .card-body { background: transparent; }
.metrics-card h4 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.metrics-card h4 i{color: #07b6d5; text-shadow: 0 0 5px rgba(255,255,255,0.2);}

.sgl-users, .sgl-tickets { background: #131b29; color: #fff; border: 1px solid rgba(29, 40, 58, 0.5); padding: 8px 16px; border-radius: 5px; transition: all 0.4s;}
.sgl-users:last-child, .sgl-tickets:last-child{margin: 0;}
.sgl-ips { background: #131b29; color: #fff; border: 1px solid rgba(29, 40, 58, 0.5); padding: 8px 16px; border-radius: 5px; margin-bottom: 0.5rem !important; transition: all 0.4s;}
.ip-info { font-size: 12px; line-height: 14px; color: rgb(148, 163, 184); }

.sgl-users:hover, .sgl-tickets:hover, .sgl-ips:hover  { border-color: #0f495c; } 


.glossy-card {
    background: linear-gradient(135deg, #1a1f2e 0%, #2c3e50 100%);
    border: 1px solid rgba(255,255,255,.07);
    transition: transform .2s, box-shadow .2s;
}
.glossy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
.info-box.custom-info-box { background: rgba(30,35,55,.9); border-left: 4px solid #2ec7ff; }

#severity-chart .apexcharts-pie-area { cursor: pointer !important; }
#types-chart .apexcharts-bar-area { cursor: pointer !important; }
#severity-chart .apexcharts-pie-area:hover,
#types-chart .apexcharts-bar-area:hover {
    opacity: 0.85;
    transition: opacity 0.15s ease;
}
#chartCityPie .apexcharts-pie-area { cursor: pointer !important; }
#chartMitreBar .apexcharts-bar-area { cursor: pointer !important; }
#chartCityPie .apexcharts-pie-area:hover,
#chartMitreBar .apexcharts-bar-area:hover {
    opacity: 0.85;
    transition: opacity 0.15s ease;
}

