/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/*.navbar-padding {*/
/*    padding-left: 15px;*/
/*    padding-right: 15px;*/
/*    margin-left: 35px;*/
/*    margin-right: 35px;*/
/*}*/

.border-primary {
    border-left: 5px solid #0dcaf0 !important;
}

#myNavbar.navbar-custom {
    background-color: #add8e6 !important;
    /* This is a light blue color. You can replace it with any color you want. */
}

.navbar-content-padding {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-brand-padding {
    padding-left: 15px;
}

.features-icons {
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.features-icons .features-icons-item {
    max-width: 20rem;
}

.features-icons .features-icons-item .features-icons-icon {
    height: 7rem;
}

.features-icons .features-icons-item .features-icons-icon i {
    font-size: 4.5rem;
}

.features-icons .features-icons-item:hover .features-icons-icon i {
    font-size: 5rem;
}

.showcase .showcase-text {
    padding: 3rem;
}

.radius-10 {
    border-radius: 10px !important;
}

.border-info {
    border-left: 5px solid #0dcaf0 !important;
}

.showcase .showcase-img {
    min-height: 30rem;
    background-size: cover;
}

.container {
    max-width: 960px;
}



.pricing-header {
    max-width: 700px;
}

.card-deck .card {
    min-width: 220px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

@media (min-width: 768px) {
    .showcase .showcase-text {
        padding: 7rem;
    }
}


/* Fix dropdown z-index issues */
.navbar {
    position: relative;
    z-index: 1030;
    /* Bootstrap's navbar z-index */
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
    z-index: 1031 !important;
    /* Higher than navbar */
}

/* Ensure Leaflet map doesn't override dropdown */
.leaflet-container {
    z-index: 1000 !important;
    /* Lower than dropdown */
}

/* Alternative: Set specific z-index for map containers */
#map,
[data-controller="map-report"],
[data-controller="map-welcome-alert-page"] {
    z-index: 1000 !important;
    position: relative;
}

/* Ensure dropdown stays above everything */
.navbar .dropdown-menu.show {
    z-index: 1050 !important;
    /* Even higher when shown */
}

.navbar-brand:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

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

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

.dropdown-item {
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile improvements */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        text-align: center;
        margin: 5px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-top: 10px;
        padding: 15px;
        backdrop-filter: blur(10px);
    }
}
