:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
    --text-color: #333;
    --background-color: #f5f8fa;
    --indigo-color: #6610f2;
    --teal-color: #20c997;
    --transition-speed: 0.2s;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background-color);
    overflow-x: hidden;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/images/Dalle2edit.jpg') no-repeat center center;
        background-size: cover;
        opacity: 0.5;
        z-index: -1;
    }

    body.modal-open {
        padding-right: 0 !important;
        overflow-y: scroll !important;
    }

.navbar {



/*    background-color: rgb(101 85 85) !important;
*/}

.text-light {
   
    color: rgb(0 0 0) !important;
}

.container-fluid {
    flex: 1 0 auto;
    width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}

main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.bg-body-tertiary {
    --bs-bg-opacity: 0.5;
    background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important;
}

footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    color: black;
}

.noSpill {
    background-color: #fff;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.navbar-toggler {
    padding-right: 12px !important;
    background-color: #ffffff52;
}

.distinct-field {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #727272;
}

.distinct-field-two {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #727272;
}

.distinct-field-three {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #727272;
}

.small-card-scatter {
    max-width: 200px;
}

.container {
    padding: 0px;
    border-radius: 10px;
    flex: 1;
}

.larger-label {
    font-size: 1.00rem;
}

.larger-navlink {
    font-size: 1.35rem;
    font-weight: 200;
}

.nav-link.active {
    color: white;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.2);
}

.larger-darker-label {
    font-size: 1.1rem;
    color: #343a40;
    margin-left: 10px;
}

.form-control-lg {
    font-size: 1.0rem;
    padding: 0.75rem 1rem;
}

.non-editable {
    background-color: #d3d3d3;
    color: #6c757d;
}

.btn-lg {
    font-size: 1.25rem;
    padding: 10px 20px;
    border-radius: 4px;
}

fieldset {
    padding: 1rem;
}

.profile-container .btn-lg {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn-group .btn.active {
    color: white;
}

custom-reset-button {
    background-color: #00d32a;
    color: white;
}

.custom-reset-button:hover,
.custom-reset-button:focus {
    background-color: #00d32a;
    color: white;
}

custom-reset-button2 {
    background-color: #201c1c;
    color: white;
}

.custom-reset-button2:hover,
.custom-reset-button2:focus {
    background-color: #201c1c;
    color: white;
}

.legend-container {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
}

.legend-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.bg-blue {
    background-color: blue;
}

.bg-green {
    background-color: green;
}

.bg-orange {
    background-color: orange;
}

.radar-tooltip {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 3px;
    pointer-events: none;
    font-size: 12px;
    font-family: Arial, sans-serif;
    color: #333;
    z-index: 10;
}

.radar-circle {
    stroke: #fff;
    stroke-width: 1px;
}

.axis line {
    stroke: #ccc;
    stroke-width: 1px;
}

.gridCircle {
    fill: #CDCDCD;
    stroke: #CDCDCD;
    fill-opacity: 0.3;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .card h6 {
        margin-bottom: 10px;
        font-weight: bold;
    }

.form-check-label {
    font-size: 14px;
    margin-left: 8px;
}

#area-ratios li {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
}

/* Navbar styles */
.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    height: auto;
}

.bg-indigo {
    background-color: var(--indigo-color);
}

.bg-teal {
    background-color: var(--teal-color);
}

.nav-link {
    white-space: nowrap;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
    margin: 0 2px;
}

    .nav-link:hover {
        transform: translateY(-2px);
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Dropdown styles */
.dropdown-item {
    transition: all var(--transition-speed) ease;
}

    .dropdown-item:hover {
        transform: translateX(5px);
        background-color: rgba(var(--bs-primary-rgb), 0.1);
    }

.navbar-brand.brand-hover {
    transition: all var(--transition-speed) ease;
}

    .navbar-brand.brand-hover:hover {
        transform: translateY(-2px) scale(1.05);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100vw;
    overflow-x: hidden;
    z-index: 1050 !important; /* Bootstrap default for dropdowns */
}

.dropdown-item-form {
    padding: 0;
    margin: 0;
}

    .dropdown-item-form button.dropdown-item {
        text-align: left;
        width: 100%;
        border: none;
        background: none;
        padding: 0.25rem 1rem;
    }

.navbar .container-fluid {
    position: relative;
}

/* Media queries */
@media (max-width: 992px) and (min-width: 768px) {
    .nav-text {
        display: none;
    }

    .nav-link:hover .nav-text {
        display: inline;
        position: absolute;
        background-color: inherit;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        margin-left: -0.5rem;
        margin-top: 1.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-link {
        padding: 0.4rem 0.5rem;
        position: relative;
    }
}

@media (max-width: 768px) {

    .navbar-nav .nav-link, .navbar-nav .nav-link.show {
        color: var(--bs-navbar-active-color);
        padding-left: 20px;
    }

        .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
            color: var(--bs-navbar-active-color);
            padding-left: 30px;
        }


    .container-fluid {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0.5rem !important;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .dropdown-menu {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hover-dropdown:hover > .dropdown-menu {
        display: none;
    }

    .hover-dropdown.show > .dropdown-menu {
        display: block;
    }
}

@media (min-width: 769px) {

/*    .navbar-nav .nav-link, .navbar-nav .nav-link.show {
        color: var(--bs-navbar-active-color);
        padding: 5px;
    }

        .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
            color: var(--bs-navbar-active-color);
            padding: 10px;
        }*/


    .hover-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-menu-end {
        right: 0;
        left: auto !important;
    }

    /* ADDED: scrollable box inside modal body */
    .gdpr-scroll {
        max-height: 40vh;
        overflow-y: auto;
        background: #fff;
    }

    /* ADDED: keep the button visible even when scrolling */
    .gdpr-sticky-actions {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding-top: 12px;
        margin-top: 12px;
        border-top: 1px solid #dee2e6;
    }
}

 
