/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');



html, body {
    overflow-x: hidden;
}




:root {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;

    background: #f6f9ff;
    color: #444444;
}



h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'GeistSans', sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    transition: all 0.3s;
    background: #FFFEFA;

    transition: margin-left 0.3s ease;

}



@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
    .sidebar {
        transform: translateX(0);
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 15px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 50px;
    margin-right: 6px;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }

    .sidebar.sidebar-active {
        transform: translateX(0);
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    height:auto;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #ffffff;
}

.sidebar-bottom .nav-link {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    border-radius: 4px;
    transition: 0.3s;
}

.sidebar-bottom .nav-link i {
    font-size: 18px;
    margin-right: 10px;
    margin-top: 5px;
    color: #000;
}

.sidebar-bottom .nav-link small {
    font-weight: normal;
    display: block;
    line-height: 1.2;
}


@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 250px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
    .sidebar {
        transform: translateX(-100%); /* hide off-screen */
    }

    body.toggle-sidebar .sidebar {
        transform: translateX(0); /* show when toggled */
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -250px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;             /* keep icon + text aligned */
    align-items: flex-start;   /* align top */
    font-size: 14px;
    font-weight: 600;
    color: oklch(55.1% .027 264.364);
    transition: 0.3s;
    padding: 10px 12px;
    border-radius: 8px;
}

.sidebar-nav .nav-link i {
    font-size: 18px;
    margin-right: 10px;
    color: oklch(55.1% .027 264.364);
    margin-top: 2px; /* fine tune vertical alignment */
}

.sidebar-nav .nav-link small {
    font-weight: normal;
    display: block;
    line-height: 1.2;
}


/*.sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
}*/

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #000;
    background: #f3f4f6;
}

.sidebar-nav .nav-link i:hover {
    color: #000 !important;

}

.sidebar-nav .nav-link:hover i {
    color: #000;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-item a:hover,
.sidebar-nav .nav-item a.active {
    
}

.sidebar-nav .nav-item a.active i {
    background-color: #282F3D;
}

/* Active nav link */
.sidebar-nav .nav-link.active {
    background-color: #282F3D;
    color: #fff;
}

/* Icon inside active nav link */
.sidebar-nav .nav-link.active i {
    color: #fff;
}

/* Small text inside active nav link */
.sidebar-nav .nav-link.active small {
    color: #fff !important ;
}

/* Desktop: sidebar always visible */
@media (min-width: 768px) {
    .sidebar {
        transform: translateX(0);
    }

}

/* Mobile: hide sidebar by default */
@media (max-width: 767px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        z-index: 1000;
        height: 100%;
        background: #fff; /* match your design */
        top: 0;
        left: 0;
    }

    .sidebar.sidebar-active {
        transform: translateX(0);
    }
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #4154f1;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #4154f1;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #4154f1;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

.footer .copyright {
    text-align: center;
    color: #012970;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}

.login-bg {
    background-image: url(/img/bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.error, .required {
    color: red;
}
.readonly-form input:read-only, .readonly-form textarea:read-only {
    background-color: #f0f0f0;
}

.top-icon {
    background-color:#fd8500;
    color:#fff;
    padding:8px 13px;
    border-radius:13px;
}

.top-icon1 {
    background-color:#6648fb;
    color:#fff;
    padding:8px 13px;
    border-radius:13px;
}

.top-icon2 {
    background-color:oklch(95.6% .045 203.388);
    color:oklch(62.3% .214 259.815);
    padding:8px 13px;
    border-radius:13px;
}

.top-icon3 {
    background-color:oklch(96.2% .044 156.743);
    color:oklch(52.7% .154 150.069);
    padding:8px 13px;
    border-radius:13px;
    border:1px solid oklch(52.7% .154 150.069);
}

.top-icon4 {
    background-color:oklch(94.6% .033 307.174);
    color:oklch(55.8% .288 302.321);
    padding:8px 13px;
    border-radius:13px;
    border:1px solid oklch(94.6% .033 307.174);
}
.top-icon5 {
    background: linear-gradient(180deg, #6135f7, #8922f9);
    color:#fff;
    padding:8px 13px;
    border-radius:13px;
    border:1px solid oklch(94.6% .033 307.174);
}

.bg-info1 {
    background-color:oklch(94.6% .033 307.174);
    padding:9px 10px;
    border-radius:13px;
    border:1px solid oklch(94.6% .033 307.174);
}

.notify {
    background: #fffbeb;
    display: flex;
    justify-content: flex-start; /* change to left */
    flex-wrap: wrap;
    padding: 13px 18px;
}


.notify i {
    color: #fff;
}
.top-text{
    font-size:.84rem;
    margin-left:58px;
    margin-top: -12px;
}

.btn-custom {
    color:#c3611c;
    border: 1px solid #fee685;
}
.brand {
    font-weight: bold;
    font-size: 1.1rem;
}
.logo1 {
    margin-top:-15px;
}

.brand p {
    font-size:14px;
    font-weight:400;
}
.pending-card {
    border-radius: 20px;
    background: linear-gradient(90deg, #ffa800 0, #ff9406 100%);
    color: #fff;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 32px rgba(255,170,0,.1);
    position: relative;
    margin-top:10px;
}
.pending-card .btn {
    background: #fff !important;
    color: #fe9900 !important;
    font-weight: 500;
    border-radius: 10px;
}
.rounded-16 {
    border-radius: 16px;
}
.light-box {
    background: #fff;
    box-shadow: 0 2px 8px rgba(30,41,59,.08);
    border-radius: 16px;

    margin-bottom: 18px;
}

.sighting-row {
    align-items: center;
    line-height: 1.8;
    padding: 8px;
    position: relative;
    transition: background 0.2s;
    margin-top:10px;
}

.sighting-left {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    color:#000;
}

.verify-btn {
    display: none;              /* hide by default */
    background: #fff;
    color: #fff;
    border: 1px solid #fff;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 0.85rem;
    cursor: pointer;
}

.sighting-row:hover .verify-btn {
    display: flex;
    background: #ffae12;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
}
.sighting-id {
    font-size: 0.95rem;
    font-weight: 500;
    background: #fcf2e8;
    color: #d2691e;
    border-radius: 7px;
    padding: 2px 10px;
    margin-right: 7px;
}

.boma-label {
    font-size: .92rem;
    font-weight: 500;
    background: #ede9fb;
    color: #9b5de5;
    border-radius: 7px;
    padding: 2px 10px;
    margin-right: 7px;
}

.status-badge {
    border-radius: 999px;
    background: #ffae12;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 13px;
}
.operation-badge {
    border-radius: 999px;
    background: #f6ebfa;
    color: #af74e7;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 13px;
}

.section-head {
    font-weight: bold;

}

.section-head1 i {
    color:#ffae12;
}
.live-map-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    min-height: 180px;
    box-shadow: 0 2px 8px rgba(30,41,59,.08);
    display: flex;
    align-items: center;
    justify-content: center;
}
.live-map-icon {
    font-size: 2.2rem;
    color: #1883fd;
}

/* Desktop (lg and above): always visible */
@media (min-width: 992px) {
    .sidebar {
        transform: translateX(0) !important;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 250px;
    }

    #main, #footer {
        margin-left: 250px;
    }
}

/* Mobile/tablet: hidden by default */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        z-index: 1050;
        height: 100%;
        background: #fff; /* adjust to your theme */
        top: 0;
        left: 0;
    }

    .sidebar.sidebar-active {
        transform: translateX(0);
    }
}



/* Card with zoom-out, hold, then zoom-in */
/*.alert-card {
  background: linear-gradient(135deg, #ffae00, #ff6600);
  color: #fff;
  border-radius: 12px;
  padding: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;  spacing between left & right sections 
  box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
              rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
  animation: gentleTick 5s infinite ease-in-out;
  transform-origin: center;
}*/

.left-section {
  display: flex;
  align-items: center;
}

.icon i {
  font-size: 2.5rem;
}
/* Button */
.alert-card {
  background: linear-gradient(135deg, #ffaf00, #fb8500);
  color: #fff;
  border-radius: 18px;
  padding: 40px 18px 56px 18px;
  position: relative;
  overflow: visible;
  min-width: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
    animation: gentleTick 5s infinite ease-in-out;
  transform-origin: center;
   box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px,
              rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    border: 3px solid rgba(255, 200, 100, 0.7); /* light orange border */

}

.alert-card .title {
    font-weight:400;
}
/* Zoom-out → hold → zoom-in */
@keyframes gentleTick {
    0%, 100% {
        transform: scale(1);
    }
    30%, 60% {
        transform: scale(1.02);
         
    }  /* hold zoomed-out state */
}

/* Icon container */
.icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
}

/* Radiating wave */
/* Radiating wave (double ripple) */
.icon .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30%;
    background: rgba(255,255,255,0.4);
   animation: subtleWave 5s infinite ease-in-out;
    z-index: -1;
}

/* Double spread during zoom-out */
@keyframes subtleWave {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }

    /* First ripple */
    30% {
        transform: scale(1);
        opacity: 0.3;
    }
    40% {
        transform: scale(2.2);
        opacity: 0;
    }

    /* Second ripple */
    50% {
        transform: scale(1);
        opacity: 0.3;
    }
    60% {
        transform: scale(2.2);
        opacity: 0;
    }
}




/* This handles mobile stacking and the over-hanging button */
@media (max-width: 540px) {
  .alert-card {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 10px 113px 10px; /* Add padding at bottom for floating button */
  }
  .verification-action {
    position: absolute;
    right: 18px;
    bottom: -28px;
    background: transparent;
    align-items: flex-end;
    width: max-content;
    text-align: right;
  }
}

.verification-action {
  display: flex;           
  flex-direction: column;  
  align-items: flex-start; 
  margin-top: 10px;
  flex-wrap: wrap;
}

/* For mobile, make it right-aligned and over the card edge */
@media (max-width: 540px) {
  .verification-action {
    align-items: flex-end !important;
    margin-bottom: 50px;
  }
}

.verification-action .verify-btn1 {
  background: #fff;
  color: #ff6600;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 18px rgba(255, 174, 0, 0.11);
  white-space: nowrap;
}

.verification-action .verify-btn1:hover {
  background: #ffe0cc;
}

.verification-action p {
  font-size: 13px;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 0;
  margin-top: 6px;
}


.verification-action .verify-btn1:hover {
    background: #ffe0cc;
}



.header-shadow {
    box-shadow: 0 2px 10px rgba(30,41,59,.06);
}
.card-stat {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(30,41,59,.08);
    padding: 45px 35px;
    color: #222;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-green {
    background:#d7fbe8;
    opacity:0.8;
}
.card-green .stat-title, .stat-extra {
    color:oklch(52.7% .154 150.069);
}
.card-green .stat-value {
    color: oklch(39.3% .095 152.535)
}
.card-green .stat-icon {
    background: #c7f6dc;
    color: #07a676;
}


/* BLUE */
.card-blue {
    background: oklch(95.6% .045 203.388); /* light sky blue */
    opacity: 0.8;
}
.card-blue .stat-title,
.card-blue .stat-extra {
    color: oklch(56.2% .12 231.801); /* medium ocean blue */
}
.card-blue .stat-value {
    color: oklch(42.5% .1 235.018); /* strong deep blue */
}
.card-blue .stat-icon {
    background: oklch(92% .05 220);  /* pale bluish bg */
    color: oklch(56.2% .12 231.801); /* match title/extra */
}

/* PURPLE */
.card-purple {
    background: oklch(94.3% .029 294.588); /* soft lavender */
    opacity: 0.8;
}
.card-purple .stat-title,
.card-purple .stat-extra {
    color: oklch(55% .13 300); /* vivid purple-pink */
}
.card-purple .stat-value {
    color: oklch(41% .11 300); /* deeper violet */
}
.card-purple .stat-icon {
    background: oklch(90% .06 300); /* light lilac bg */
    color: oklch(55% .13 300);
}

/* GREY */
.card-grey {
    background: #dee4ec; /* soft grey */
    opacity: 0.8;
}
.card-grey .stat-title,
.card-grey .stat-extra {
    color: oklch(55% .01 250); /* medium neutral grey */
}
.card-grey .stat-value {
    color: oklch(25% .01 250); /* darker grey for emphasis */
}
.card-grey .stat-icon {
    background: oklch(90% .015 250); /* pale grey bg */
    color: oklch(55% .01 250);
}


.stat-title {
    font-weight: 400;
    font-size: 1rem;
}
.stat-value {
    font-size: 2rem;
    font-weight: 700;
}
.stat-extra {
    font-size: 1.07rem;
}
.stat-icon {
    font-size: 1.5rem;
    padding: 7px 12px;
    border-radius: 12px;

    margin-left: 14px;
}
.stat-icon-purple {
    color: #b57eea;
}
.stat-icon-grey {
    color: #6b6b6b;
}
.stat-extra-purple {
    color: #af74e7;
    font-size: 1rem;
}
.stat-extra-grey {
    color: #8c97af;
    font-size: 1rem;
}
.dashboard-section {
    margin-top: 30px;
}
/* Cards */
.dashboard-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(30,41,59,.08);
    padding: 24px 20px 16px 20px;
    margin-bottom: 24px;
    min-height: 240px;
}
.dashboard-card h6 {
    font-size: 1.17rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.tag-hot {
    background: #ffe3e3;
    color: #b31b1b;
}
.tag-medium {
    background: #fff6df;
    color: #e7a717;
}
.tag-low {
    background: #daf7d3;
    color: #228d3d;
}
.badge-dark {
    background: #222e3a;
}
.btn-light {
    background: #effbff;
    color: #222;
    font-weight: 500;
    border-radius: 9px;
}

.card-custom {
    border-radius: 12px;
    border: none;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.section-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.badge-custom {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
}
.bg-light-blue {
    background: #f5f8ff;
}
.bg-light-green {
    background: #e7fdea;
}

#herdChart {
    width: 200px !important;  /* make chart small */
    height: 200px !important; /* adjust aspect */
    align-items: center;
}

.sm-local .sm-searchbar {
    padding: 20px 24px 16px 24px;
    margin-bottom: 18px;
    border-bottom:1px solid #e8e8e8;
    border-radius: 10px;
}
.sm-local .sm-search-input {

    border: 1px solid #e3e8ef;
    border-radius: 9px;
    padding-left: 2.2rem;
    height: 42px;
}
.sm-local .sm-search-icon {
    position: absolute;
    left: 18px;
    top: 11px;
    color: #a9b6c6;
    font-size: 1.2rem;
}
.sm-local .sm-search-input:focus {
    border-color: #bbb;
    box-shadow: 0 0 0 0.15rem #bbb;
}
.sm-local .sm-table-container {
    padding: 20px;
    margin-top: 10px;

}
.sm-local .sm-table th {
    font-weight:600;
    color:#687089;
    background: #f8fafb;
}
.sm-local .sm-table td {
    font-size:1rem;
}
/* Priority badge styles */
.sm-local .sm-badge-high {
    background:#ffcbcb;
    color:#bf3434;
}
.sm-local .sm-badge-medium {
    background:#ffe6a0;
    color:#bc8200;
}
.sm-local .sm-badge-low {
    background:#8efdc2;
    color:#228d3d;
}
/* Row color highlights */
.sm-local .sm-row-high td {
    background: #ffe6e6;
}
.sm-local .sm-row-medium td {
    background: #fffbe7;
}
.sm-local .sm-row-low td {
    background: #eafbe7 ;
}
/* Status badges */
.sm-local .sm-badge-status {
    border-radius:8px;
    padding:4px 12px;
    font-size:0.9em;
    font-weight:530;
}
.sm-local .sm-badge-pending {
    background:#fffbe7;
    color:#b09200;
}
.sm-local .sm-badge-verified {
    background:#dafbe7;
    color:#119e63;
}
.sm-local .sm-badge-invalid {
    background:#ffe3e3;
    color:#c03d29;
}
.sm-local .sm-badge-duplicate {
    background:#e6eafd;
    color:#5c6cd6;
}
.sm-local .sm-activity-badge {
    background: #f4f6fb;
    color: #374151;
    border-radius: 7px;
    font-weight: 500;
    padding: 3px 11px;
    font-size:1em;
}
.sm-local .sm-actions i {
    color: #7f88a7;
    font-size: .95rem;
    margin-right: 16px;
}
.sm-local .sm-actions i:last-child {
    margin-right: 0;
}
.sm-local .sm-last-updated {
    color: #92a1b2;
    font-size: .96rem;
}


.soft-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 12px rgba(30,41,59,.07);
    padding: 20px;
    margin-bottom: 22px;
    line-height: 2;

}
.section-label {
    font-size: 1em !important;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}
.section-label .bi {
    margin-right: 8px;
}
.field-label {
    font-size: .97em;
    font-weight: 500;
    margin-bottom: 0;
    color: #535f6c;
}
.field-value {
    font-size: 0.9em;
    font-weight: 600;
}
.field-sub {
    font-size: .98em;
    color: #89929b;
}
.priority-badge {
    display: inline-block;
    background: #ffe6e6;
    color: #c0392b;
    font-size: .98em;
    border-radius: 7px;
    padding: 2px 11px;
    margin-left: 10px;
    font-weight: 600;
}
.photo-note {
    color: #808790;
    font-size: .98em;
}
.form-label {
    font-weight: 500;
}
.btn-duplicate {
    background: #fff6ed;
    border: 1.5px solid #ffb780;
    color: #d2691e;
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 22px;
}
.btn-duplicate:hover {
    background: #ffe3c8;
}
.form-control:focus {
    border-color: #bbb;
    box-shadow: 0 0 0 0.13rem #bbb;
}
.form-section {
    margin-bottom: 24px;
}


.boma-page-local {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    margin-top:8px;
}
.boma-page-local .top-header {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.08);
    padding: 32px 44px 18px 44px;
    margin-bottom: 20px;
}
.boma-page-local .boma-action-btn {
    background: #af74e7;
    color: #fff;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 9px;
    border: none;
    transition: background 0.2s;
}
.boma-page-local .boma-action-btn:hover {
    background: #b997e6;
}
.boma-page-local .top-card-row {
    margin-bottom: 20px;
}
.boma-page-local .boma-stat-card {
    border-radius: 18px;
    box-shadow: 0 10px 10px rgba(30,41,50,.07);
    padding: 26px 17px 20px 27px;
    background: #f7fafd;
    height: 100%; /* makes all cards equal height inside cols */
}

.boma-page-local .boma-stat-card.total {
    background: #eefdfe;
}
.boma-page-local .boma-stat-card.active {
    background: #e7fdea;
    color:#14A877;
}
.boma-page-local .boma-stat-card.active .card-icon {
    background: #d6f9e3;
    color:#14A877;
}
.boma-page-local .boma-stat-card.active .card-label {
    color:#14A877;
}
.boma-page-local .boma-stat-card.active .card-value {
    color:#0d542b;
}

.boma-page-local .boma-stat-card.planned {
    background: #fffbe7;
}
.boma-page-local .boma-stat-card.planned .card-icon {
    background: #feefce;
    color:#bc8200;
}
.boma-page-local .boma-stat-card.planned .card-label {
    color:#bb4d00;
}
.boma-page-local .boma-stat-card.planned .card-value {
    color:#8c3306;
}


.boma-page-local .boma-stat-card.completed {
    background: #ece6fa;
}
.boma-page-local .boma-stat-card.completed .card-icon {
    background: #f2f2ff;
    color:#9200db;
}
.boma-page-local .boma-stat-card.completed .card-label {
    color:#9200db;
}
.boma-page-local .boma-stat-card.completed .card-value {
    color:#59168b;
}

.boma-page-local .boma-stat-card.captured {
    background: #fff6eb;
}
.boma-page-local .boma-stat-card.captured .card-icon {
    background: #ffe8d3;
    color:#e76a3b;
}
.boma-page-local .boma-stat-card.captured .card-label {
    color:#bb4d00;
}
.boma-page-local .boma-stat-card.captured .card-value {
    color:#8c3306;
}

.boma-page-local .boma-stat-card.relocated {
    background: #e5f7fc;
}
.boma-page-local .boma-stat-card.relocated .card-icon {
    background: #d2f6f0;
    color:#26786f;
}
.boma-page-local .boma-stat-card.relocated .card-label {
    color:#26786f;
}
.boma-page-local .boma-stat-card.relocated .card-value {
    color:#0b4f4a;
}
.boma-page-local .card-label {
    font-size: 1em;
    font-weight: 600;
    color: #7f8fa6;
}
.progress-bar {
    background: linear-gradient(to right, #007bff, #28a745);
}

.boma-page-local .card-value {
    font-size: 2em;
    font-weight: 700;
    color: #1c399d;
}
.boma-page-local .card-icon {
    float: right;
    font-size: 1.5em;
    background: oklch(93.2% .032 255.585);
    border-radius: 12px;
    padding: 7px 12px;
    color: oklch(62.3% .214 259.815);
    margin-left: 12px;
}
.boma-page-local .searchbar-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 10px rgba(30,41,59,.07);
    padding: 19px 23px 15px 23px;
    margin-bottom: 14px;
}
.boma-page-local .search-input {
    background: #f8fafb;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    padding-left: 2.2rem;
    height: 42px;
}
.boma-page-local .search-icon {
    position: absolute;
    left: 15px;
    top: 11px;
    color: #adb7ca;
    font-size: 1.15em;
}
.boma-page-local .boma-table-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(30,41,59,.07);
    margin-top: 14px;
    padding: 16px;
}
.boma-page-local .last-updated {
    color: #92a1b2;
    font-size: .95em;
}
.boma-page-local .boma-table th {
    font-weight: 600;
    color: #89929b;
    background: #f8fafb;
    vertical-align: middle;
}
.boma-page-local .boma-table td {
    font-size: 1em;
    vertical-align: middle;
}
.boma-page-local .table-priority-high {
    background: #ffe6e6;
}
.boma-page-local .table-priority-medium {
    background: #fffbe7;
}
.boma-page-local .table-priority-low {
    background: #d7fce8;
}
.boma-page-local .badge-high {
    background: #ffcbcb;
    color: #bf3434;
}
.boma-page-local .badge-medium {
    background: #ffe6a0;
    color: #bc8200;
}
.boma-page-local .badge-low {
    background: #9bfaca;
    color: #228d3d;
}
.boma-page-local .status-badge-active {
    background:#e7fdea;
    color:#0ba568;
    font-weight:500;
}
.boma-page-local .status-badge-planned {
    background:#e7eefe;
    color:#447ac3;
    font-weight:500;
}
.boma-page-local .status-badge-completed {
    background:#ece6fa;
    color:#9357d2;
    font-weight:500;
}
.boma-page-local .status-badge-decomm {
    background:#f4f4f4;
    color:#888;
    font-weight:500;
}
.boma-page-local .progress-label {
    font-size:.98em;
    color:#7f88a7;
}
.boma-page-local .actions i {
    color:#7f88a7;
    font-size:1.1em;
    margin-right:17px;
}
.boma-page-local .actions i:last-child {
    margin-right:0;
}
@media (max-width:1100px){
    .boma-page-local {
        padding-left:10px;
        padding-right:10px;
    }
    .boma-page-local .top-header {
        padding:18px 8px 14px 8px;
    }
    .boma-page-local .searchbar-container {
        padding:9px 4px 8px 8px;
    }
    .boma-page-local .boma-table-container {
        padding:6px;
    }
    .boma-page-local .boma-stat-card {
        min-width:135px;
    }
}
/* Optional: limit stat card margin for wrap on smaller screens */
@media (max-width:900px){
    .boma-page-local .boma-stat-card{
        margin-right:8px;
    }
}

.upload-box {
    border: 2px dashed #6c757d;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    color: #6c757d;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.upload-box:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}
.upload-box input[type="file"] {
    display: none;
}

.location-card {
    background: linear-gradient(135deg, #f7fcff, #f1f7ff);
    padding: 50px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.location-card:hover {
    background: linear-gradient(135deg, #eef6ff, #e8f9ff);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.boma-detailed-page .boma-card {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: none;
}

.boma-detailed-page .boma-map-placeholder {

    border-radius: 12px;
    height: 200px;
}

.boma-detailed-page .boma-activity {
    border-left: 3px solid #d6f1ff;
    padding-left: 12px;
}

.boma-timeline {
    position: relative;
    padding-left: 40px;
    border-left: 2px solid #e5e7eb;
    margin-top: 20px;
}
.boma-activity {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.timeline-icon {
    position: absolute;
    left: -58px;       /* Push icon onto the vertical line */
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.timeline-content {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    width: 100%;
}

/* Add Activity Form Box */
.boma-activity-form {
    background: #f9fbff;
    padding-left: 0 !important;
    border-left:0 ! important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    position: relative;
}
.boma-activity-form .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
}

.badge-setup {
    background: #dbeafe;
    color: #1f3fb8;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 12px; /* rounded pill style */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.ar-dashboard-card {
    border-radius: 18px;
    box-shadow: 0 10px 10px rgba(90,160,190,0.07);
    background: #fff;
    transition: box-shadow 0.2s;
    border: 1px solid #f0f4fa;
    padding: 30px 24px;
}

.ar-bg-info {
    background: linear-gradient(90deg, #e2f2fc 0%, #c9eafa 100%);
}
.ar-bg-info .ar-dashboard-title {
    color:#155dfc;
}
.ar-bg-info .ar-dashboard-value {
    color:#1c398c;
}
.ar-bg-info .ar-dashboard-trend {
    color:#155dfc;
}

.ar-bg-success {
    background: linear-gradient(90deg, #dcf5ea 0%, #e7faef 100%);
}
.ar-bg-success .ar-dashboard-title {
    color:#14A877;
}
.ar-bg-success .ar-dashboard-value {
    color:#0d542b;
}
.ar-bg-success .ar-dashboard-trend {
    color:#14A877;
}

.ar-bg-purple {
    background: linear-gradient(90deg, #ebdffd 0%, #f4ebfe 100%);
}
.ar-bg-purple .ar-dashboard-title {
    color:#9200db;
}
.ar-bg-purple .ar-dashboard-value {
    color:#59168b;
}
.ar-bg-purple .ar-dashboard-trend {
    color:#9200db;
}

.ar-bg-warning {
    background: linear-gradient(90deg, #fef5e8 0%, #fefae8 100%);
}
.ar-bg-warning .ar-dashboard-title {
    color:#bb4d00;
}
.ar-bg-warning .ar-dashboard-value {
    color:#8c3306;
}
.ar-bg-warning .ar-dashboard-trend {
    color:#bb4d00;
}

.ar-dashboard-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a314b;
    letter-spacing: 0.3px;
}

.ar-dashboard-value {
    font-size: 2.1rem;
    font-weight: 700;
    color: #1a314b;
    margin-top: 5px;
}

.ar-dashboard-trend {
    font-size: 0.93rem;
    margin-top: 3px;
    color: #31b27a;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.ar-section-label {
    font-size: 1.09rem;
    font-weight: 600;
    color: #313a46;
    margin-bottom: 18px;
    letter-spacing: 0.1px;
}

.ar-nav-tabs {
    margin: 0 20px; /* left-right margin inside the page */
}

.ar-nav-tabs .nav-item {
    flex: 1; /* make all tabs equal width */
    text-align: center;
}

.ar-nav-tabs .nav-link {
    border: none;
    color: oklch(13% .028 261.692);
    font-weight: 600;
    line-height: 2;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px; /* space between icon & text */
}
.ar-nav-tabs .nav-link i {
    color: oklch(13% .028 261.692);
}

.ar-nav-tabs .nav-link.active {
    background: #f3f7fc;
    border: none;
    border-radius: 8px 8px 0 0;
    color: #1a314b !important;
    font-weight: 600;
    box-shadow: 0px 3px 6px -2px rgba(0, 0, 0, 0.15);

    position: relative;
    z-index: 1; /* keeps it above other tabs */
}


.ar-status-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.ar-verification-metric {
    background: #f8fafd;
    border-radius: 10px;
    box-shadow: 0 1.5px 6px rgba(150,170,200,0.09);
    padding: 16px 0;
    margin: 0 6px;
}

.ar-icon-box {
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    box-shadow: 0 2px 8px rgba(90,160,190,0.08);
}
.ar-icon-info {
    background: #d2ecfa;
    color: #155dfc;
}
.ar-icon-success {
    background: #d3f5e9;
    color: #31b27a;
}
.ar-icon-purple {
    background: #ebdafc;
    color: #994abe;
}
.ar-icon-warning {
    background: #fdf1dd;
    color: #e4b25c;
}

.operations-container {
    background-color: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 9px 12px rgba(0,0,0,0.05);
}

.operations-header {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.header-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
}

.header-title .bi-geo-alt-fill {
    color: #0d6efd;
}

.mapbox-live .bi-broadcast {
    color: #6c757d;
}

.pending-badge {
    background-color: #fff3e0;
    color: #ff9800;
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 20px;
}

.map-area {
    position: relative;
    height: 400px; /* Adjust height as needed */
    width: 100%;
   
}

.legend {
    position: absolute;
    top: 20px;
    left: 10px;
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
}

.legend h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #4e54c8, #8f94fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.legend-item:last-child {
    margin-bottom: 0;
}

/* Base styles for map icons */
.map-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Specific styles for Pending Verification */
.icon-pending {
    background-color: #ffc107; /* Orange */
    border: 3px solid rgba(255, 255, 255, 0.7);
    animation: pulse-orange 2s infinite;
}

.legend .icon-pending {
    animation: none; /* Turn off animation in the legend */
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    margin-right: 0.75rem;
}

/* Specific styles for Active Trap */
.icon-trap {
    background-color: #920ff0;
    border-radius: 25%;
    border: 3px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.5);
}


.legend .icon-trap {
    width: 25px;
    height: 25px;
    font-size: 0.8rem;
    margin-right: 0.75rem;
}


/* Positioning the icons on the map */
#pending1 {
    top: 15%;
    left: 15%;
}
#pending2 {
    top: 35%;
    left: 38%;
}
#pending3 {
    top: 55%;
    left: 62%;
}
#trap1 {
    top: 45%;
    left: 55%;
}
#trap2 {
    top: 60%;
    left: 75%;
}
#trap3 {
    top: 70%;
    left: 88%;
}


/* Pulsing animation for pending icons */
@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 193, 7, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}


.text-purple {
    color: #a52efb !important;
}
.bg-purple {
    background-color: #a52efb !important;
    color: #fff !important;
}


