:root {
    --primary-color: #172ca9;
    --secondary-color: #f8f9fc;
    --text-color: #5a5c69;
    --success-color: #1cc88a;
}

body {
    background-color: #f6f6f6 !important;
}
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.navbar-brand img {
    max-height: 40px;
}

.text-gray
{
    color: gray;
}

.text-lightgray
{
    color: lightgray;
}
#login_banner
{
    /* background-image: url('https://chennaimetrorail.org/wp-content/uploads/2023/12/cmrl-12.jpg'); */
    background-image: url('../img/cumta_background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.select2-container {
    width: 100% !important;
}

.select2-container--open .select2-dropdown {
    z-index: 9999 !important; /* Higher than modals or other components */
}

/* Hover Dropdown Styles */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
    .navbar-nav .dropdown-menu {
        margin-top: 0;
        display: none;
        position: absolute;
        background-color: white;
        min-width: 200px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .navbar-nav .dropdown-item:hover {
        background-color: #f4f4f4;
    }
}
.btn-primary{
    background-color: #172ca9 !important;
    border-color: #172ca9 !important;
}

.btn-primary:hover{
    background-color: #152fc3 !important;
    border-color: #152fc3 !important;
}

/* Mobile Responsiveness Enhancements */
.navbar-toggler {
    border: none;
    outline: none;
    padding: 10px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Rest of the previous styles remain the same */
/* Base styling for cards and container */

/* Set minimum width for cards to prevent them from becoming too narrow */
.dashboard-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Take full width of the flex item */
}

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

/* Icon styling to match screenshot */
.dashboard-card .icon {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.dashboard-card .content {
    text-align: center;
}

.card
{
    margin-bottom: 2rem; 
}
.dashboard-card .content h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
}

.dashboard-card .content p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}


/* Card specific colors matching the screenshot */
.dashboard-card.users-card {
    background: linear-gradient(135deg, #7579e7, #6064d4);
}

.dashboard-card.revenue-card {
    background: linear-gradient(135deg, #a56ef5, #8341e0);
}

.dashboard-card.orders-card {
    background: linear-gradient(135deg, #ff9642, #ff7b1c);
}

.dashboard-card.dept-card {
    background: linear-gradient(135deg, #25160a, #ff7b1c);
}

.dashboard-card.visitors-card {
    background: linear-gradient(135deg, #20c997, #0ca678);
}

.dashboard-card.forms-card {
    background: linear-gradient(135deg, #ff6347, #e74c3c);
}


/* Reduce card height */
.dashboard-card {
    min-height: 140px; /* Reduced from 180px */
    padding: 15px 12px; /* Reduced padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

/* Make the icon smaller */
.dashboard-card .icon {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 50px; /* Reduced from 70px */
    height: 50px; /* Reduced from 70px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px; /* Reduced from 15px */
}

/* Adjust text sizes */
.dashboard-card .content h3 {
    font-size: 28px; /* Reduced from 32px */
    font-weight: 700;
    margin: 5px 0; /* Reduced from 10px */
}

.dashboard-card .content p {
    font-size: 14px; /* Reduced from 16px */
    margin: 0;
    opacity: 0.9;
}

/* Adjust icon size if needed */
.dashboard-card .icon i {
    font-size: 1.5em; /* Slightly reduced */
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .d-flex {
        /* flex-direction: column !important; */
    }
    
    .d-flex a {
        margin: 8px 0;
    }
}

/* Chart and Footer Styles */
#salesChart {
    width: 100% !important;
    height: 400px !important;
}
.footer {
    background-color: #f8f9fa;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}
.user-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
}
.breadcrumb-item a {
    text-decoration: none;
    color: #172ca9;
    font-weight:600;
}
.breadcrumb-item.active {
    color: #6c757d;
}
.text_primary_color
{
    color:#172ca9;
}

.fs-10
{
    font-size: 10px;
}
.fs-11
{
    font-size: 11px;
}
.fs-12
{
    font-size: 12px;
}
.fs-13
{
    font-size: 13px;
}
.fs-14
{
    font-size: 14px;
}
.fs-15
{
    font-size: 15px;
}
.fs-16
{
    font-size: 16px;
}
/* 
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
}
.breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
}
.breadcrumb-item.active {
    color: #6c757d;
} */

.login-container {
    max-width:  60%;
    width: 100%;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.svg-primary {
    filter: invert(54%) sepia(5%) saturate(174%) hue-rotate(215deg) brightness(92%) contrast(85%);
}

.login-row {
    min-height: 90vh;
    margin: 0;
}

.login-left {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
    color: white;
}

.login-left h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.login-form {
    background-color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h2 {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating label {
    color: #858796;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    border: none;
    padding: 12px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #2e59d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #b7b9cc;
}

.divider:before, .divider:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eaecf4;
}

.divider span {
    padding: 0 15px;
    font-size: 0.85rem;
}



@media (max-width: 767.98px) {
    .login-left {
        padding: 30px;
        text-align: center;
    }
    
    .login-form {
        padding: 30px;
    }
    
    .login-container {
        margin: 20px;
    }
}

.buffer-control-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.rounded-color-picker {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
}

.buffer-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    cursor: pointer;
    user-select: none;
}

.buffer-toggle input[type="checkbox"] {
    margin: 0;
}

.toggle-text {
    font-weight: 500;
}

.layer-controls-modern {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px;
    margin: 4px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Main Controls Row */
.main-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    /* margin-bottom: 12px; */
    padding-bottom: 8px;
    /* border-bottom: 1px solid #f0f0f0; */
}

.control-group {
    display: flex;
    align-items: center;
}

/* Modern Slider */
.modern-slider {
    width: 80px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #e9ecef 0%, #007bff 100%);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
}

.modern-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.modern-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Color Box */
.color-box {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e1e5e9, 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 1px #007bff, 0 4px 8px rgba(0,0,0,0.15);
}

/* Modern Select */
.modern-select {
    padding: 3px 12px;
    width: 70px;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    background: white;
    font-size: 13px;
    color: #495057;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.modern-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Action Buttons */
.actions {
    margin-left: auto;
    gap: 8px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: #f8f9fa;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: translateY(-1px);
}

/* Buffer Row */
.buffer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.buffer-label {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    min-width: 45px;
}

.buffer-color-box {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #e1e5e9;
    cursor: pointer;
    transition: all 0.2s ease;
}

.buffer-color-box:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.buffer-color-box,
.buffer-input,
.unit {
    display: none;
}

/* Show buffer controls when toggle is checked */
.modern-toggle input[type="checkbox"]:checked ~ .buffer-color-box,
.modern-toggle input[type="checkbox"]:checked ~ .buffer-input,
.modern-toggle input[type="checkbox"]:checked ~ .unit {
    display: block;
}

.buffer-input {
    width: 70px;
    padding: 4px 8px;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.buffer-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.unit {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* Modern Toggle Switch */
.modern-toggle {
    position: relative;
}

.modern-toggle input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    display: block;
    width: 44px;
    height: 24px;
    background: #e1e5e9;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.modern-toggle input[type="checkbox"]:checked + .toggle-switch {
    background: #28a745;
}

.modern-toggle input[type="checkbox"]:checked + .toggle-switch::before {
    transform: translateX(20px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-controls {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .buffer-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .actions {
        margin-left: 0;
        width: 100%;
        justify-content: flex-end;
    }
}

/* Smooth Animations */
* {
    /* transition: all 0.2s ease; */
}

.layer-controls-modern:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

#sidebar {
    position: fixed; /* Fixed to keep it in place */
    top: 90px; /* Adjust as needed */
    right:0px; /* Move to the right side */
    width: 400px;
    background: rgba(255, 255, 255, 0.9);
    /* padding: 15px; */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 200;
    font-family: Arial, sans-serif;
    height: 70%;
    /* padding-top: 0px !important; */
    /* cursor: move; */
}

#sidebarContent
{
    height: 90%;
    overflow-y: scroll;
}

#sidebarToggleBtn
{
    /* cursor: move; */
}
h3 img
{
    margin-right: 10px;
}

#map {
    width: 100%;
    height: 100vh; /* Full viewport height */
    position: relative;
}
@keyframes toast-progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: width 0.1s ease;
}

#map {
    position: relative;
    z-index: 100; /* Ensure it's above other elements */
}


#sidebar h3, #sidebar h4 {
    margin-bottom: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
#sidebar h3
{
    font-size: 20px !important;
    font-weight: 500;
    padding: 10px;
    color: #172ca9;
}

.layer-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.download-btn {
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 3px;
}

.download-btn:hover {
    background-color: #007bff;
    color: white;
}

/* Make sure Font Awesome icons look good */
.fa {
    font-size: 14px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    background: white;
    /* color: white; */
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    color: white; 
    overflow: hidden;
}

.logo {
    height: 60px;
    margin-right: 15px;
    animation: fadeIn 1s ease-in-out;
}

.title {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    animation: slideIn 1s ease-in-out;
    font-family: 'Roboto', sans-serif; /* Apply Roboto */
    color: #172ca9; 
}
.logo, footer,.brand
{
    animation: slideIn 1s ease-in-out;
}

.logo, footer,.brand
{
    animation: slideIn 1s ease-in-out;
}

.form-label {
    font-weight: 500 !important;
    color:#4a4a4a;
}

/* Glow effect */
.header::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* background: #172ca9; */
    top: 0;
    color: white; 
    left: 0;
    opacity: 0;
    animation: glow 2s infinite alternate;
}

div.dataTables_wrapper div.dataTables_length select {
    width: auto;
    display: inline-block;
    padding: 4px;
    border-radius: 5px;
}
footer {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #172ca9 0%, #1e3db8 100%);
    text-align: center;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    position: relative;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(23, 44, 169, 0.3);
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    overflow-x: auto;
    width:100% !important;
    bottom: 0px;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.cumta_url {
    color: #ffd700;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 6px;
    border-radius: 4px;
}

.cumta_url:hover {
    color: #fff;
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

.govt-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    font-size: 13px;
}

.separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

@media (max-width: 768px) {
    footer {
        padding: 12px 15px;
        font-size: 12px;
        white-space: normal;
        line-height: 1.4;
    }
    
    .separator {
        margin: 0 4px;
    }
    
    .govt-text {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 10px 10px;
        font-size: 11px;
    }
    
    .cumta_url {
        padding: 1px 4px;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Slide-in animation */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Glow animation */
@keyframes glow {
    from { opacity: 0.1; }
    to { opacity: 0.3; }
}

input[type="range"] {
    /* width: 70px !important; Adjust width */
    opacity: 0.8;
    transition: opacity 0.2s;
    border-radius: 5px;
    cursor: pointer;
}

.scroll {
width: 20px;
height: 200px;
overflow: auto;
float: left;
margin: 0 10px;
border-radius: 20px;
}

.content {
/* height: 500px; */
border-radius: 20px;
}

h1 {
text-align: center;
font-size: 2em;
font-family: sans-serif;
margin: 20px;
}


.scroll1::-webkit-scrollbar {
width: 7px;
border-radius: 20px;

}

.scroll1::-webkit-scrollbar-track {
    
background: #ddd;
border-radius: 20px;
}

.scroll1::-webkit-scrollbar-thumb {
background: #666; 
padding: 5px; 
border-radius: 20px;
}
hr
{
    margin-bottom: 10px !important;
    margin-top: 30px !important;
}

/* REPLACE the tour button CSS in your createTourFunctionality function with this: */

/* Tour button styles - optimized for inline display */
.map-tour-action {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.map-tour-action .btn {
    background-color: #4B465C !important;
    border-color: #4B465C !important;
    color: white !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 8px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px !important;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-width: auto !important;
    width: auto !important;
    flex-shrink: 0;
}

.map-tour-action .btn:hover {
    background-color: #3d3a4a !important;
    border-color: #3d3a4a !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.map-tour-action .btn:focus {
    background-color: #4B465C !important;
    border-color: #4B465C !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(75, 70, 92, 0.25);
}

.map-tour-action .btn i {
    font-size: 12px !important;
    line-height: 1;
    margin: 0;
}

.map-tour-action .btn span {
    font-size: 10px !important;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

/* Ensure the controls container stays in one row */
.map-controls-container {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
    padding: 8px !important;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    overflow-x: auto; /* Allow horizontal scroll if needed */
    overflow-y: hidden;
    white-space: nowrap;
}



.map-controls-container > div,
.map-controls-container > .map-actions,
.map-controls-container > .map-actions1,
.map-controls-container > .map-actions2,
.map-controls-container > .map-layer-selector,
.map-controls-container > .map-tour-action {
    flex-shrink: 0 !important;
    margin: 0 2px !important;
    display: flex;
    align-items: center;
}

/* Make all buttons the same size */
.map-controls-container .btn {
    height: 32px !important;
    min-height: 32px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
}

.map-controls-container .btn i {
    font-size: 12px !important;
}

.map-controls-container .btn span {
    font-size: 10px !important;
}

/* Make the select dropdown more compact */
.map-layer-selector .form-select {
    font-size: 11px !important;
    padding: 4px 8px !important;
    height: 32px !important;
    min-width: 100px !important;
    max-width: 120px !important;
}

.map-layer-selector .input-group-text {
    font-size: 11px !important;
    padding: 4px 8px !important;
    height: 32px !important;
}

/* Responsive behavior for very small screens */
@media (max-width: 768px) {
    .map-tour-action .btn span {
        display: none !important;
    }
    
    .map-tour-action .btn {
        min-width: 28px !important;
        width: 28px !important;
        padding: 4px !important;
    }
    
    .map-controls-container {
        gap: 2px !important;
    }
    
    .map-layer-selector .form-select {
        min-width: 80px !important;
        max-width: 100px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 576px) {
    .map-controls-container {
        padding: 4px !important;
        gap: 1px !important;
    }
    
    .map-controls-container .btn {
        padding: 2px 4px !important;
        font-size: 10px !important;
    }
    
    .map-controls-container .btn i {
        font-size: 11px !important;
    }
}

/* REPLACE the existing map-controls-container CSS with this optimized version */

/* Map Controls Container - No Scroll Layout */
.map-controls-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* Changed from flex-start */
    gap: 4px !important; /* Reduced gap */
    flex-wrap: nowrap !important;
    padding: 6px !important; /* Reduced padding */
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    width: 100%;
    overflow: hidden !important; /* Hide overflow instead of scroll */
    min-height: 44px; /* Reduced height */
}

/* Sidebar Toggle Button - More Compact */
.sidebar-toggle-wrapper {
    flex-shrink: 0;
    order: 1;
}

.sidebar-toggle-btn {
    width: 28px !important; /* Smaller size */
    height: 28px !important;
    background-color: #19299b !important;
    color: #fff !important;
    font-size: 14px !important; /* Smaller font */
    text-align: center !important;
    line-height: 28px !important;
    border-radius: 4px !important;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sidebar-toggle-btn:hover {
    background-color: #19299b !important;
}

/* Action Buttons Group - More Compact */
.action-buttons-group {
    flex-shrink: 1; /* Allow some shrinking */
    order: 2;
    display: flex;
    align-items: center;
    gap: 2px !important; /* Reduced gap */
    flex: 1; /* Take available space */
    justify-content: center; /* Center the buttons */
}

.action-buttons-group > div {
    margin: 0;
    padding: 0;
}

/* Map Layer Selector - Compact */
.map-layer-selector {
    flex-shrink: 0;
    order: 3;
}

/* Tour Action - Compact */
.map-tour-action {
    flex-shrink: 0;
    order: 4;
}

/* All Buttons - Smaller and More Compact */
.map-controls-container .btn {
    height: 28px !important; /* Smaller height */
    min-height: 28px !important;
    width: 28px !important; /* Smaller width */
    min-width: 28px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 3px !important; /* Smaller radius */
    font-size: 12px !important; /* Smaller font */
    transition: all 0.2s ease;
    margin: 0 !important;
}

.map-controls-container .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.map-controls-container .btn i {
    font-size: 12px !important;
    line-height: 1;
}

/* Input Group - Much More Compact */
.map-layer-selector .input-group {
    width: auto;
    min-width: 90px !important; /* Much smaller */
    max-width: 110px !important;
}

.map-layer-selector .input-group-text {
    height: 28px !important;
    padding: 0 4px !important; /* Less padding */
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #6c757d;
    font-size: 11px !important; /* Smaller font */
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-layer-selector .form-select {
    height: 28px !important;
    padding: 2px 4px !important; /* Less padding */
    font-size: 10px !important; /* Smaller font */
    border-color: #dee2e6 !important;
    min-width: 60px !important; /* Much smaller */
    max-width: 80px !important;
}

.map-layer-selector .form-select:focus {
    border-color: #4B465C !important;
    box-shadow: 0 0 0 0.1rem rgba(75, 70, 92, 0.25) !important;
}

/* Tour Button - Very Compact */
.map-tour-action .btn {
    width: 24px !important; /* Very small */
    min-width: 24px !important;
    height: 28px !important;
    padding: 0 2px !important;
    font-size: 10px !important;
}

.map-tour-action .btn span {
    display: none !important; /* Hide text to save space */
}

.map-tour-action .btn i {
    font-size: 11px !important;
}

/* Responsive - Even More Compact on Small Screens */
@media (max-width: 768px) {
    .map-controls-container {
        gap: 2px !important;
        padding: 4px !important;
    }
    
    .map-layer-selector .input-group {
        min-width: 80px !important;
        max-width: 90px !important;
    }
    
    .map-layer-selector .form-select {
        min-width: 50px !important;
        max-width: 60px !important;
        font-size: 9px !important;
    }
    
    .map-controls-container .btn {
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
        min-height: 24px !important;
        font-size: 10px !important;
    }
    
    .sidebar-toggle-btn {
        width: 24px !important;
        height: 24px !important;
        line-height: 24px !important;
        font-size: 12px !important;
    }
}

/* Force no scrolling */
.sidebar-header {
    overflow: hidden !important;
}

.sidebar-header * {
    box-sizing: border-box !important;
}
.title_section
{
    display: flex;
    align-items: center;
}

.leaflet-marker-icon, .leaflet-interactive {
    transition: transform 0.2s ease-in-out;
}


.blue_line {
    width: 20px;
    height: 6px;
    background-color: #2a82c9;
    margin-right: 2px;
    border-radius: 5px;
}
.green_line {
    width: 20px;
    height: 6px;
    background-color: green;
    margin-right: 2px;
    
    border-radius: 5px;
}
.yellow_line {
    width: 20px;
    height: 6px;
    background-color: #cbc547;
    margin-right: 2px;
    
    border-radius: 5px;
}
.grey_line {
    width: 20px;
    height: 6px;
    background-color: #777472;
    margin-right: 2px;
    
    border-radius: 5px;
}
.orange_line {
    width: 20px;
    height: 6px;
    background-color: #ca862a;
    margin-right: 2px;
    
    border-radius: 5px;
}
.red_line {
    width: 20px;
    height: 6px;
    background-color: #eb2d49;
    margin-right: 2px;
    
    border-radius: 5px;
}
.black_line {
    width: 20px;
    height: 6px;
    background-color: #4c1602;
    margin-right: 2px;
    
    border-radius: 5px;
}
.sea_line {
    width: 20px;
    height: 6px;
    background-color: #25abb8;
    margin-right: 2px;
    
    border-radius: 5px;
}
.violet_line {
    width: 20px;
    height: 6px;
    background-color: #9c3bce;
    margin-right: 2px;
    
    border-radius: 5px;
}

:root {
    --primary-blue: #0a3d91;
    --secondary-blue: #1e56a5;
}

.navbar {
    background-color: white !important;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    /* gap: 1rem; */
}

.logo-container img {
    height: 60px;
}

.navbar .btn {
    padding: 8px 20px;
    font-weight: 500;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.navbar .btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.navbar .btn-outline-primary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.navbar .btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .navbar-nav {
        margin-top: 1rem;
        text-align: center;
    }
    
    .navbar .btn {
        margin: 5px;
        width: 100%;
    }
}

/* Rest of your existing styles remain unchanged */
.hero-section {
    position: relative;
    min-height: 60vh;
    background: linear-gradient(135deg, #172ca9 55%, #ffffff 55%);
    overflow: hidden;
    padding: 0px 0;
    border-bottom: 1px solid white;;
}

.hero-content {
    color: white;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    position: relative;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-images-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    height: 500px;
    padding: 20px;
}

.hero-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
}

.image-overlay h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

@media (max-width: 992px) {
    .hero-section {
        background: var(--primary-blue);
    }
    
    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }

    .hero-images-grid {
        height: auto;
        grid-template-rows: repeat(2, 200px);
    }
}

.logo-container1
{
    animation: slideIn 1s ease-in-out !important;
}

.hero-content h1
{
    margin-left: 0px;
}


/* Tab Styling */
.tabs {
    display: flex;
    justify-content: space-between;
    background: #007bff;
    border-radius: 8px;
    /* margin-bottom: 20px; */
}

.tablink {
    flex: 1;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.tablink.active {
    background: #172ca9;
}

/* Tab Content */
.tabcontent {
    padding: 10px;
    display: none;
}

/* Make active tab visible */
.tabcontent.active {
    display: block;
}


.range-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 5px;
    outline: none;
    transition: 0.2s;
    cursor: pointer;
}

/* Track styling */
.range-slider input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 5px;
}

.range-slider input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    border-radius: 5px;
}

/* Thumb styling */
.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.range-slider input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.range-slider input[type="range"]:hover::-webkit-slider-thumb {
    background: #555;
    transform: scale(1.2);
}

/* Label styles */
.range-value {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}


@media screen and (max-width:425px){
    #sidebar{
        width: 290px!important;
    }
}

/* Toast Notification Styles */
#measurement-toast {
    position: fixed;
    bottom: 300px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 10000;
}

#mapLayer
{
    /* margin-right: 20px; */
}

.cumta_url
{
    /* color: white; */
}

.container {
    /* padding: 4rem; */
    /* background: #eee; */
 }
 
 input[type="checkbox"] {
    /* display: none; */
 }
 
 .faq-drawer {
    margin-bottom: 0.5rem;
    flex: 1;
    /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); */
    border-radius: 8px;
 }
 /* Enhanced Draw Tool Popup Styles */
.enhanced-draw-popup {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 350px;
}

.enhanced-draw-popup h6 {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.enhanced-draw-popup p {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.enhanced-draw-popup code {
    background-color: #f1f3f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    color: #d63384;
}

.enhanced-draw-popup strong {
    color: #495057;
    font-weight: 600;
}

/* Action buttons styling */
.draw-popup-actions {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.draw-popup-actions .btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 3px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.draw-popup-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.draw-popup-actions .btn i {
    font-size: 10px;
}

/* Specific button colors */
.draw-popup-actions .btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.draw-popup-actions .btn-outline-primary:hover {
    background-color: #0d6efd;
    color: white;
}

.draw-popup-actions .btn-outline-success {
    color: #198754;
    border-color: #198754;
}

.draw-popup-actions .btn-outline-success:hover {
    background-color: #198754;
    color: white;
}

.draw-popup-actions .btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.draw-popup-actions .btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.draw-popup-actions .btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.draw-popup-actions .btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

/* Enhanced popup container styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.enhanced-draw-popup .leaflet-popup-content {
    margin: 12px 15px;
    line-height: 1.5;
}

/* Responsive design for smaller screens */
@media (max-width: 480px) {
    .enhanced-draw-popup {
        max-width: 280px;
    }
    
    .draw-popup-actions {
        gap: 2px;
    }
    
    .draw-popup-actions .btn {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .enhanced-draw-popup h6 {
        font-size: 13px;
    }
    
    .enhanced-draw-popup p {
        font-size: 12px;
    }
}

/* Animation for popup appearance */
.leaflet-popup {
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar for long coordinate lists */
.enhanced-draw-popup p:last-of-type {
    max-height: 60px;
    overflow-y: auto;
    padding-right: 5px;
}

.enhanced-draw-popup p:last-of-type::-webkit-scrollbar {
    width: 4px;
}

.enhanced-draw-popup p:last-of-type::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.enhanced-draw-popup p:last-of-type::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.enhanced-draw-popup p:last-of-type::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
 

/* Enhanced layer control styles */
.metadata-content {
    padding: 8px !important;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin: 4px 0;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: fit-content;
    flex-shrink: 0;
}

.control-label {
    font-size: 10px;
    font-weight: 500;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
}

/* Width control styling */
.width-control-container {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 2px 4px;
    min-width: 80px;
}

.width-selector {
    border: none;
    background: transparent;
    font-size: 10px;
    padding: 0;
    cursor: pointer;
    outline: none;
    min-width: 45px;
}

.width-selector:focus {
    outline: 1px solid #007bff;
    outline-offset: 1px;
}

/* Size control for markers */
.size-control-container {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 2px 4px;
    min-width: 85px;
}

.size-selector {
    border: none;
    background: transparent;
    font-size: 10px;
    padding: 0;
    cursor: pointer;
    outline: none;
    min-width: 50px;
}

.size-selector:focus {
    outline: 1px solid #007bff;
    outline-offset: 1px;
}

/* Enhanced opacity control */
.opacity-control-container {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 2px 4px;
    min-width: 85px;
}

.opacity-slider {
    width: 50px !important;
    height: 12px;
    margin: 0;
    cursor: pointer;
}

/* Color control enhancement */
.color-control-container {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    padding: 1px;
}

.rounded-color-picker {
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    border-radius: 3px !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.rounded-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 3px;
}

.rounded-color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 3px;
}

/* Icon controls */
.control-item i {
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 4px;
    border-radius: 3px;
}

.control-item i:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .metadata-content {
        flex-direction: row;
        align-items: stretch;
        gap: 8px !important;
    }
    
    .control-item {
        justify-content: space-between;
        /* width: 100%; */
        padding: 4px 8px;
        background-color: white;
        border-radius: 3px;
        border: 1px solid #dee2e6;
    }
    
    .width-control-container,
    .size-control-container,
    .opacity-control-container {
        border: none;
        background: transparent;
        min-width: auto;
        flex: 1;
    }
    
    .control-label {
        font-size: 11px;
    }
    
    .width-selector,
    .size-selector {
        min-width: auto;
        flex: 1;
        text-align: right;
    }
    
    .opacity-slider {
        width: 80px !important;
    }
}

/* Enhanced hover effects */
.layer-toggle-wrapper:hover .metadata-content {
    background-color: #e9ecef;
}

/* Tooltip styling for better UX */
.control-item[title]:hover::after {
    content: attr(title);
    position: absolute;
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 2px;
    pointer-events: none;
}

/* Loading states for controls */
.control-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

.control-item.loading::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid #007bff;
    border-top: 1px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Enhanced visual feedback */
.width-selector option:checked,
.size-selector option:checked {
    background-color: #007bff;
    color: white;
}

/* Smooth transitions */
.control-item,
.width-selector,
.size-selector,
.opacity-slider,
.rounded-color-picker {
    transition: all 0.2s ease;
}

/* Focus states for accessibility */
.width-selector:focus,
.size-selector:focus,
.opacity-slider:focus,
.rounded-color-picker:focus {
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Custom range slider styling */
.opacity-slider::-webkit-slider-track {
    background: linear-gradient(to right, transparent 0%, #007bff 100%);
    height: 4px;
    border-radius: 2px;
}

.opacity-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
a.metadata-toggle-btn:hover,
a.metadata-toggle-btn:active,
a.metadata-toggle-btn:focus {
    background-color: transparent !important;
    background: none !important;
}

.opacity-slider::-moz-range-track {
    background: linear-gradient(to right, transparent 0%, #007bff 100%);
    height: 4px;
    border-radius: 2px;
    border: none;
}

.opacity-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

 .faq-drawer__title {
    display: block;
    position: relative;
    padding: 5px;
    margin-bottom: 0;
    
    background: #172caa;
    
    color: white;
    font-weight: 500;
    font-size: 15px;
    
    border-radius: 8px;
    transition: all 0.25s ease-out;
    cursor: pointer;
 }
 
 .faq-drawer__title:hover {
    color: white;
    background: #172caa;
 }
 
 .faq-drawer__title::after {
    content: " ";
 
    position: absolute;
    width: 0;
    height: 0;
    top: 14px;
    right: 20px;
    float: right;
 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease-out;
 }

 .faq-drawersub__title {
    display: block;
    position: relative;
    padding: 5px;
    margin-bottom: 0;
    background: #bfc8f9;
    color: #172caa;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.25s ease-out;
    cursor: pointer;
 }
 
 .faq-drawersub__title:hover {
    color: #172caa;
    background: #bfc8f9;
 }
 
 .faq-drawersub__title::after {
    content: " ";
 
    position: absolute;
    width: 0;
    height: 0;
    top: 14px;
    right: 20px;
    float: right;
 
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease-out;
 }
 
 .faq-drawer__trigger:checked + .faq-drawer__title::after {
    transform: rotate(-180deg);
 }

 
 
 .faq-drawer__content-wrapper {
    overflow: hidden;
    max-height: 0px;
    font-size: 17px;
    line-height: 15px;
    transition: max-height 0.25s ease-in-out;
 }
 
 .faq-drawer__trigger:checked
    + .faq-drawer__title
    + .faq-drawer__content-wrapper {
    max-height: 100%;
 }
 
 .faq-drawer__trigger:checked + .faq-drawer__title {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
 }
 
 .faq-drawer__content-wrapper .faq-drawer__content {
    background: white;
    padding: 5px 8px 0px 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
 }
 
 .route-label {
    font-size: 12px;
    /* font-weight: bold; */
    color: white;
    /* background: rgba(0, 0, 0, 0.7); */
    padding: 3px 6px;
    border-radius: 5px;
    text-align: center;
    z-index: 2000;
}


.custom-search-box {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    width: 300px;
}

.custom-search-box input {
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#suggestions {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
}

#suggestions li {
    padding: 8px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

#suggestions li:hover {
    background: #f0f0f0;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.close-icon {
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    color: red !important;
}

.close-icon:hover {
    color: darkred;
}

/* button{
    background: #cdffcd;
    border-radius: 5px;
    border: 1px solid #00bf00;
    padding: 5px;
    font-size: 14px;
} */

button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

button:focus, button:hover {
    text-decoration: none;
}

button:focus {
    outline: 0;
    /* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); */
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.btn-primary:disabled {
    background-color: #007bff;
    border-color: #007bff;
    opacity: 0.65;
}

.btn-outline-primary {
    color: #162da8;
    background-color: transparent;
    border-color: #162da8;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #162da8;
    border-color: #162da8;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

/* For button with spinner */
.btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    vertical-align: -0.125em;
    margin-right: 0.5rem;
}

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

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

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

li a span.active
{
    /* background-color:#172ca9 !important;
    color: white !important;
    border-radius: 5px;
    padding: 10px !important; */
    
    padding-bottom: 5px !important;
    border-bottom: 6px solid #19299b;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

}
.nav-dropdown li a.active
{
    background-color: #e9edff !important;
    color: #3751ed !important;

    /* background-color:#172ca9 !important;
    color: white !important; */
    /* border-radius: 5px; */
    padding: 10px !important;
}


.nav-dropdown li a:hover
{
    background-color: #e9edff !important;
    color: #3751ed !important;


    /* background-color:#172ca9 !important;
    color: white !important; */
}

.container
{
    min-height: 85vh;
}

@charset "UTF-8";
.navigation {
  height: 70px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.brand {
  position: absolute;
  padding-left: 20px;
  float: left;
  line-height: 45px;
  text-transform: uppercase;
  font-size: 1.4em;
}

.brand a,
.brand a:visited {
  color: #333333;
  text-decoration: none;
}

.nav-container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

nav {
  float: right;
}

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

nav ul li {
  float: left;
  position: relative;
}

nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 0 20px;
  line-height: 70px;
  background: #ffffff;
  color: #333333;
  text-decoration: none;
}
/* 
nav ul li a:hover,
nav ul li a:visited:hover {
  background: #f8f9fa;
  color: #2581DC;
} */

nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: " ▾";
}

nav ul li ul li {
  min-width: 190px;
}

nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow:0 12px 12px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}
.nav-dropdown
{
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cecece;
    z-index: 3000;
}
/* Fix for user dropdown going outside right window */
.user-profile .nav-dropdown {
  right: 0;
  left: auto;
}

/* User profile styling */
.user-profile {
  margin-left: 15px;
}

.profile-icon {
  font-size: 1.2em;
}

.profile-icon i {
  font-size: 1.5em;
}

.logout-btn {
  color: #dc3545 !important;
}

.logout-btn:hover {
  background: #f8d7da !important;
}

/* Mobile navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: #ffffff;
  height: 70px;
  width: 70px;
}

@media only screen and (max-width: 798px) {
  .nav-mobile {
    display: block;
  }

  nav {
    width: 100%;
    padding: 70px 0 15px;
  }

  nav ul {
    display: none;
  }

  nav ul li {
    float: none;
  }

  nav ul li a {
    padding: 15px;
    line-height: 20px;
    background: #ffffff;
  }

  nav ul li ul li a {
    padding-left: 30px;
  }

  .nav-dropdown {
    position: static;
  }
  
  .user-profile {
    margin-left: 0;
  }
}

@media screen and (min-width: 799px) {
  .nav-list {
    display: block !important;
  }
}

#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #333333;
  position: absolute;
  display: block;
  content: "";
  transition: all 300ms ease-in-out;
}

#nav-toggle span:before {
  top: -10px;
}

#nav-toggle span:after {
  bottom: -10px;
}

#nav-toggle.active span {
  background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
  top: 0;
}

#nav-toggle.active span:before {
  transform: rotate(45deg);
}

#nav-toggle.active span:after {
  transform: rotate(-45deg);
}

article {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}
@media (max-width: 991px) {
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }
}
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Ensure dropdowns have proper z-index and positioning */
.dropdown-menu {
    margin-top: 0;
    z-index: 1050;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border:1px solid #eeeeee;
}

.table-header {
    background-color: #f8f9fa;
}

.table th {
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table thead tr th {
    background-color: #172ca9;
    color: white;
}
.table tbody tr:hover {
    background-color: #e8ebff !important;
}
#myTable tbody tr:hover {
    background-color: #e8ebff !important; /* Custom hover color */
    color: #000 !important; /* Optional: Change text color */
}

#myTable tbody tr:hover td {
    background-color: #e8ebff !important;
}
/* Status Badge */
.status-badge {
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.status-active {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-inactive {
    background-color: #ffebee;
    color: #c62828;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
    justify-content: flex-start;
}

.action-buttons .btn {
    padding: 0.25rem 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.action-buttons .btn i {
    font-size: 0.9rem;
}

/* Button Colors */
.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 10px 0; */
}

.dataTables_filter {
    margin-right: 20px;
    margin-bottom: 5px;
}

.buttons-container {
    display: flex;
    /* gap: 10px; */
}

.dataTables_length {
    margin-right: 20px;
}

.btn {
    margin-left: 10px;
}

.dataTables_wrapper .dataTables_paginate {
    float: right;
    text-align: right;
    padding-top: 0.25em
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: 0.5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    cursor: hand;
    color: #333 !important;
    border: 1px solid transparent;
    border-radius: 6px
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fff !important;
    border: 1px solid #172ca9;
    background-color: #172ca9;
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));
    background: -webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -o-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%) */
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #666 !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #172ca9;
    background-color: #172ca9;
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
    background: -moz-linear-gradient(top, #585858 0%, #111 100%);
    background: -ms-linear-gradient(top, #585858 0%, #111 100%);
    background: -o-linear-gradient(top, #585858 0%, #111 100%);
    background: linear-gradient(to bottom, #585858 0%, #111 100%) */
}

.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    outline: none;
    background-color: #172ca9;
    color: #fff !important;
    /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
    background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
    box-shadow: inset 0 0 3px #111 */
}

.dataTables_wrapper .dataTables_paginate .ellipsis {
    padding: 0 1em
}

.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 40px;
    margin-left: -50%;
    margin-top: -25px;
    padding-top: 20px;
    text-align: center;
    font-size: 1.2em;
    background-color: white;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%)
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
    color: #333
}

.dataTables_wrapper .dataTables_length {
    float: left
}

.dataTables_wrapper .top,
.dataTables_wrapper .bottom {
    padding: 0px 0;
}

.dataTables_filter {
    margin-bottom: 0;
}

.dt-buttons .btn {
    margin-right: 5px;
}

.dataTables_info {
    margin-bottom: 0;
}

.pagination {
    margin-bottom: 0;
}

.text-primary
{
    color:#172ca9 !important;
}

table td{
    font-size: 14px !important;
}
table th{
    font-size: 13px !important;
}
a,label
{
    font-size: 14px !important;
}

.hover-scale-icon {
    transition: transform 0.3s ease-in-out;
}

.hover-scale-icon:hover {
    transform: scale(1.3);
}

.nav-pills .nav-link {
    border-radius: 5px;
    padding: 10px 20px;
    margin: 0 5px;
    background: #eee;
    color: #333;
    transition: 0.3s;
}
.nav-pills .nav-link.active {
    background-color: #6f42c1;
    color: #fff;
}


.page {
	margin: 1em auto;
	max-width: 768px;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	height: 100%;
}

.box {
	padding: 0.5em;
	width: 100%;
	margin:0.5em;
}

.box-2 {
	padding: 0.5em;
	width: calc(100%/2 - 1em);
}

.options label,
.options input{
	width:4em;
	padding:0.5em 1em;
}

.hide {
	display: none;
}

img {
	max-width: 100%;
}

.rounded-color-picker {
    width: 20px !important;
    height: 20px !important;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
}

.rounded-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 50%;
}

.rounded-color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.loading {
  display: flex;
  justify-content: center;
}

/* @import url(https://fonts.googleapis.com/css?family=Audiowide); */




.page-content {
  display: none;
}


.nav-link:hover {
  color: #19299b;
}

.nav-link.active {
  color: #19299b;
}

.page_title
{
    font-weight: 600;
    font-size: 22px;
}
.title-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #19299b;
}


.breadcrumb-custom-simple {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
}
.title_section_card
{
    /* border-bottom: 1px solid lightgray; */
}

.breadcrumb-custom-simple .separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

.breadcrumb-custom-simple .current {
    color: #6b7280;
}

/* Enhanced Modern Modal Styles */

/* Modal Backdrop with Blur */
.modal.fade {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop {
    background: linear-gradient(135deg, rgba(25,41,155,0.4), rgba(139,92,246,0.3));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Modal Dialog Enhancements */
.modal-dialog {
    transform: scale(0.8) translateY(-50px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 25px 80px rgba(0,0,0,0.15));
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Content - Glassmorphism Effect */
.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px !important;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 15px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.4);
    overflow: hidden;
    position: relative;
}

/* Add subtle gradient overlay */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,41,155,0.3), transparent);
    z-index: 1;
}

/* Modal Header Enhancement */
.modal-header {
    background: linear-gradient(135deg, rgba(25,41,155,0.05), rgba(139,92,246,0.03));
    border-bottom: 1px solid rgba(25,41,155,0.1) !important;
    padding: 1.5rem 2rem 1.25rem;
    position: relative;
    border-radius: 20px 20px 0 0;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(25,41,155,0.2), transparent);
}

/* Modal Title Enhancement */
.modal-title {
    color: #19299b !important;
    font-weight: 700 !important;
    font-size: 1.35rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-title::before {
    /* content: '📁'; */
    /* font-size: 1.2rem; */
    /* filter: drop-shadow(0 2px 4px rgba(25,41,155,0.3)); */
}

/* Close Button Enhancement */
.btn-close {
    background: rgba(25,41,155,0.1);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    margin: 0;
}

.btn-close:hover {
    background: rgba(25,41,155,0.15);
    opacity: 1;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(25,41,155,0.2);
}

/* Modal Body Enhancement */
.modal-body {
    padding: 2rem;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    position: relative;
}

/* Form Enhancements */
#addlayercategoryform {
    width: 100%;
}

/* Form Label Enhancement */
.form-label {
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label::before {
    /* content: ''; */
    width: 4px;
    height: 4px;
    background: #19299b;
    border-radius: 50%;
    margin-right: 0.25rem;
}

/* Input Field Enhancement */
.form-control {
    border: 2px solid rgba(25,41,155,0.1);
    border-radius: 12px;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem;
    line-height: 1.4;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-control:focus {
    border-color: #19299b;
    box-shadow: 
        0 0 0 3px rgba(25,41,155,0.1),
        0 4px 20px rgba(25,41,155,0.15);
    background: rgba(255,255,255,0.95);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #9ca3af;
    opacity: 0.8;
}

/* Required Asterisk Enhancement */
.text-danger {
    color: #ef4444 !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(239,68,68,0.2);
}

/* Alert Enhancement */
#layer_category_name_alert {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(239,68,68,0.1);
    border-left: 3px solid #ef4444;
    margin-top: 0.5rem !important;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

#layer_category_name_alert:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}

/* Submit Button Enhancement */
.btn-primary {
    background: linear-gradient(135deg, #19299b, #1e3a8a);
    border: none;
    border-radius: 12px;
    padding: 0.475rem 0.5rem !important;
    font-weight: 600;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(25,41,155,0.3),
        0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(25,41,155,0.4),
        0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(25,41,155,0.3),
        0 1px 4px rgba(0,0,0,0.1);
}

/* Button Container Enhancement */
.d-flex.justify-content-center {
    /* margin-top: 2rem !important; */
    /* position: relative; */
}

/* Add floating particles effect (optional) */
.modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(25,41,155,0.03) 0%, transparent 50%);
    animation: float 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Enhancements */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .btn-primary {
        padding: 0.75rem 2rem !important;
        font-size: 0.9rem !important;
    }
}

/* Loading State for Submit Button (optional) */
.btn-primary.loading {
    pointer-events: none;
    position: relative;
    color: transparent;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced SweetAlert Styles */
.swal2-popup {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px !important;
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.15),
        0 15px 40px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.4) !important;
    padding: 2.5rem !important;
    position: relative;
    overflow: hidden;
}

.swal2-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffa726, #66bb6a, #42a5f5, #ab47bc);
    background-size: 300% 100%;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Warning Icon Enhancement */
.swal2-icon.swal2-warning {
    border: none !important;
    background: linear-gradient(135deg, #ff9800, #f57c00) !important;
    color: white !important;
    width: 80px !important;
    height: 80px !important;
    box-shadow: 0 8px 30px rgba(255, 152, 0, 0.4);
    animation: pulse-warning 2s ease-in-out infinite;
    margin-top:0.5 rem !important;
    position: relative;
}

.swal2-icon.swal2-warning::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

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

@keyframes ripple {
    0% { 
        transform: scale(1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Title Enhancement */
.swal2-title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    /* margin-bottom: 1rem !important; */
    /* line-height: 1.3 !important; */
}

/* Text Enhancement */
.swal2-html-container {
    font-size: 1.1rem !important;
    color: #718096 !important;
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

/* Button Enhancements */
.swal2-actions {
    margin-top: 0 !important;
    gap: 1rem !important;
    /* margin-top: 2rem !important; */
}

.swal2-cancel {
    background: rgba(107, 114, 128, 0.1) !important;
    border: 2px solid #d1d5db !important;
    color: #6b7280 !important;
    padding: 0.875rem 2rem !important;
    border-radius: 16px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px);
    min-width: 120px;
}

.swal2-cancel:hover {
    background: rgba(107, 114, 128, 0.15) !important;
    border-color: #9ca3af !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.2) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #19299b, #1e3a8a);
    border: none !important;
    color: white !important;
    padding: 0.875rem 2rem !important;
    border-radius: 16px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(56, 122, 229, 0.4) !important;
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.swal2-confirm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.swal2-confirm:hover {
    background: linear-gradient(135deg, #19299b, #1e3a8a);
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(56, 122, 229, 0.4) !important;
}

.swal2-confirm:hover::before {
    left: 100%;
}

/* Backdrop Enhancement */
.swal2-backdrop-show {
    background: rgba(0,0,0,0.5) !important;
    backdrop-filter: blur(8px);
}

.leaflet-popup-content-wrapper.solid-popup {
                background: rgba(255, 255, 255, 1) !important; /* Full opacity white background */
                opacity: 1 !important;
                box-shadow: 0 3px 14px rgba(0,0,0,0.4) !important;
            }

            .leaflet-popup-content.solid-popup {
                background: rgba(255, 255, 255, 1) !important;
                opacity: 1 !important;
            }

            .optimized-popup {
                background: rgba(255, 255, 255, 1) !important;
                opacity: 1 !important;
                z-index: 1000;
                position: relative;
            }

            .leaflet-popup-close-button {
                background: rgba(255, 255, 255, 0.9) !important;
                color: #333 !important;
                font-size: 16px !important;
                font-weight: bold !important;
                border-radius: 50% !important;
                width: 20px !important;
                height: 20px !important;
                line-height: 18px !important;
                text-align: center !important;
                cursor: pointer !important;
                z-index: 1001 !important;
                position: absolute !important;
                top: 5px !important;
                right: 5px !important;
            }

            .leaflet-popup-close-button:hover {
                background: rgba(255, 255, 255, 1) !important;
                color: #000 !important;
            }

            /* Ensure popup is above map layers */
            .leaflet-popup {
                z-index: 100000 !important;
            }

            .leaflet-popup-pane {
                z-index: 100000 !important;
            }

        .marquee-container {
            position: relative;
            /* max-width: 1200px; */
            margin: 10px auto;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            /* padding: 40px; */
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            /* border: 1px solid rgba(255, 255, 255, 0.2); */
        }

        .marquee-wrapper {
            position: relative;
            /* height: 120px; */
            overflow: hidden;
            border-radius: 8px;
            /* padding: 0px 10px 0px 10px; */
            /* background: linear-gradient(45deg, #116d7e, #1e8ea7, #10998f); */
            background: var(--primary-gradient);
            /* background-size: 400% 400%; */
            animation: gradientShift 8s ease infinite;
            cursor: pointer;
        }

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

        .marquee-track {
            display: flex;
            width: fit-content;
            animation: marqueeScroll 20s linear infinite;
        }

        .marquee-wrapper:hover .marquee-track {
            animation-play-state: paused;
        }

        @keyframes marqueeScroll {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }

        .marquee-item {
            margin-top: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 400px;
            height: 25px;
            padding: 0 40px;
            white-space: nowrap;
        }

        .marquee-content {
            text-align: center;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .marquee-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 5px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .marquee-subtitle {
            font-size: 1rem;
            opacity: 0.9;
            font-weight: 300;
        }

        .blink-indicator {
            position: absolute;
            top: 17px;
            right: 20px;
            width: 8px;
            height: 8px;
            background: #ff4757;
            border-radius: 50%;
            animation: blink 1s infinite;
            box-shadow: 0 0 10px rgba(255, 71, 87, 0.8);
            z-index: 10;
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0.3; }
        }

         .announcement-title{
            background: #764ba2;
            color: white;
            display: flex;
            align-items: center;
            padding: 8px;
            z-index: 100;
            border-right: 1px solid white;
            font-weight: 600;
        }

        .pause-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1.5rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 10;
        }

        .marquee-wrapper:hover .pause-overlay {
            opacity: 0.7;
        }

        .status-indicator {
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: white;
            font-size: 0.9rem;
            opacity: 0.8;
            z-index: 10;
        }

        .play-icon {
            color: #4ecdc4;
        }

        .pause-icon {
            color: #ff6b6b;
        }

        .speed-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }

        .speed-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .speed-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .speed-btn.active {
            background: rgba(255, 255, 255, 0.4);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

        .direction-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 15px;
        }

        .direction-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .direction-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .direction-btn.active {
            background: rgba(255, 255, 255, 0.4);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

        .info-panel {
            text-align: center;
            color: white;
            margin-top: 20px;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .reverse {
            animation-direction: reverse;
        }

        @media (max-width: 768px) {
            .marquee-title {
                font-size: 2rem;
            }
            
            .marquee-subtitle {
                font-size: 1rem;
            }
            
            .marquee-container {
                margin: 50px 20px;
                padding: 20px;
            }
            
            .marquee-item {
                min-width: 300px;
                padding: 0 20px;
            }
        }