@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");:root{--header-height: 3rem;--nav-width: 68px;--first-color: #327747;--first-color-light: #AFA5D9;--white-color: #F7F6FB;--body-font: 'Nunito', sans-serif;--normal-font-size: 1rem;--z-fixed: 100}*,::before,::after{box-sizing: border-box}body{position: relative;margin: var(--header-height) 0 0 0;padding: 0 1rem;font-family: var(--body-font);font-size: var(--normal-font-size);transition: .5s}a{text-decoration: none}.header{width: 100%;height: var(--header-height);position: fixed;top: 0;left: 0;display: flex;align-items: center;justify-content: space-between;padding: 0 1rem;background-color: var(--white-color);z-index: var(--z-fixed);transition: .5s}.header_toggle{color: var(--first-color);font-size: 1.5rem;cursor: pointer}.header_img{width: 35px;height: 35px;display: flex;justify-content: center;border-radius: 50%;overflow: hidden}.header_img img{width: 40px}.l-navbar{position: fixed;top: 0;left: -30%;width: var(--nav-width);height: 100vh;background-color: var(--first-color);padding: .5rem 1rem 0 0;transition: .5s;z-index: var(--z-fixed)}.nav{height: 100%;display: flex;flex-direction: column;justify-content: space-between;overflow: hidden}.nav_logo, .nav_link{display: grid;grid-template-columns: max-content max-content;align-items: center;column-gap: 1rem;padding: .5rem 0 .5rem 1.5rem}.nav_logo{margin-bottom: 2rem}.nav_logo-icon{font-size: 1.25rem;color: var(--white-color)}.nav_logo-name{color: var(--white-color);font-weight: 700}.nav_link{position: relative;color: var(--first-color-light);margin-bottom: 1.5rem;transition: .3s}.nav_link:hover{color: var(--white-color)}.nav_icon{font-size: 1.25rem}.show{left: 0}.body-pd{padding-left: calc(var(--nav-width) + 1rem)}.active{color: var(--white-color)}.active::before{content: '';position: absolute;left: 0;width: 2px;height: 32px;background-color: var(--white-color)}.height-100{height:100vh}@media screen and (min-width: 768px){body{margin: calc(var(--header-height) + 1rem) 0 0 0;padding-left: calc(var(--nav-width) + 2rem)}.header{height: calc(var(--header-height) + 1rem);padding: 0 2rem 0 calc(var(--nav-width) + 2rem)}.header_img{width: 40px;height: 40px}.header_img img{width: 45px}.l-navbar{left: 0;padding: 1rem 1rem 0 0}.show{width: calc(var(--nav-width) + 156px)}.body-pd{padding-left: calc(var(--nav-width) + 188px)}}
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f4fffc;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    text-align: center;
    padding: 20px 0;
}
.two h1 {
    text-transform: capitalize;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
}
  
  .two h1 span {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 3em;
    padding-left: 0.25em;
    color: rgba(0, 0, 0, 0.4);
    padding-bottom: 10px;
  }

.block {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    margin-left: 5%;
    margin-right: 5%;
}

.container-fluid {
    margin-left: 200px;
}



.jumbotron {
    background: linear-gradient(45deg,#327747, #91eaaf);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}




.chart-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #ccc; /* Optional styling for better visualization */
    background-color: white; /* Optional background color */
    min-height: 300px; /* Minimum height for each container */
}

.map-section {
    margin: 20px 0;
}

.map-container {
    height: 600px;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dataTables_wrapper{
    margin-top: 20px;
}


.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
}

#analyze-button {
    background: linear-gradient(45deg,#327747, #91eaaf);
    background: linear-gradient(135deg, #006b0e, #42d392);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#analyze-button .spinner {
    border: 3px solid #ffffff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

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

#analyze-button:hover {
    background: linear-gradient(45deg,#327747, #91eaaf);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#analyze-button:active {
    transform: translateY(2px);
}

#analyze-button.loading .button-text {
    visibility: hidden;
}

#analyze-button.loading .spinner {
    display: block;
}

/* Dashboard refresh */
.dashboard-shell {
    --dashboard-bg: #f3efe4;
    --dashboard-surface: rgba(255, 252, 245, 0.94);
    --dashboard-card: rgba(255, 255, 255, 0.88);
    --dashboard-line: rgba(91, 72, 39, 0.14);
    --dashboard-text: #1e3124;
    --dashboard-muted: #617363;
    --dashboard-accent: #2f6a43;
    --dashboard-accent-strong: #234f33;
    --dashboard-highlight: #d5a63e;
    background:
        radial-gradient(circle at top right, rgba(213, 166, 62, 0.2), transparent 26%),
        linear-gradient(180deg, #f8f4e9 0%, #f1ecdf 100%);
    color: var(--dashboard-text);
    font-family: 'Manrope', Arial, sans-serif;
}

.dashboard-shell .header {
    background: rgba(255, 250, 240, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dashboard-line);
    box-shadow: 0 18px 45px rgba(45, 66, 48, 0.08);
}

.dashboard-shell .header_toggle,
.dashboard-shell .header_img {
    color: var(--dashboard-accent);
}

.dashboard-shell .header_img {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(47, 106, 67, 0.15);
    box-shadow: 0 10px 25px rgba(35, 79, 51, 0.12);
}

.dashboard-shell .l-navbar {
    background:
        linear-gradient(180deg, rgba(28, 62, 40, 0.97), rgba(52, 104, 63, 0.96)),
        linear-gradient(160deg, rgba(213, 166, 62, 0.1), transparent);
    box-shadow: 18px 0 42px rgba(31, 47, 33, 0.16);
}

.dashboard-shell .nav_logo,
.dashboard-shell .nav_link {
    border-radius: 16px;
    margin: 0 0.75rem 1rem 1rem;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
}

.dashboard-shell .nav_logo {
    background: rgba(255, 255, 255, 0.08);
}

.dashboard-shell .nav_logo-name,
.dashboard-shell .nav_icon,
.dashboard-shell .nav_name {
    color: #f8f2df;
}

.dashboard-shell .nav_link {
    color: rgba(248, 242, 223, 0.72);
}

.dashboard-shell .nav_link:hover,
.dashboard-shell .nav_link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-shell .active::before {
    left: 10px;
    width: 4px;
    border-radius: 999px;
    background-color: var(--dashboard-highlight);
}

.dashboard-shell .dashboard-content {
    margin-left: 0;
    padding: 1.5rem 1rem 3rem;
}

.dashboard-shell .dashboard-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(213, 166, 62, 0.34), transparent 24%),
        linear-gradient(135deg, #29553a 0%, #3d7e50 58%, #5fa26d 100%);
    box-shadow: 0 28px 60px rgba(32, 56, 38, 0.18);
}

.dashboard-shell .dashboard-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
}

.dashboard-shell .dashboard-hero__inner {
    max-width: 720px;
    padding: 0.5rem 0;
}

.dashboard-shell .dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #f7edd1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-shell .dashboard-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.dashboard-shell .dashboard-hero .lead {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    max-width: 56ch;
}

.dashboard-shell .two h1 {
    padding: 0;
    margin: 0 0 1.25rem;
    color: var(--dashboard-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem);
    letter-spacing: -0.03em;
}

.dashboard-shell .dashboard-mobile-home {
    display: none;
}

.dashboard-shell .dashboard-mobile-home__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--dashboard-line);
    border-radius: 12px;
    background: var(--dashboard-card);
    color: var(--dashboard-text);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(42, 59, 44, 0.08);
}

.dashboard-shell .dashboard-mobile-home__link:hover {
    color: var(--dashboard-text);
    background: #ffffff;
}

.dashboard-shell .block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
}

.dashboard-shell .chart-container,
.dashboard-shell .dataTables_wrapper,
.dashboard-shell #myTable1_wrapper {
    border: 1px solid var(--dashboard-line);
    border-radius: 24px;
    background: var(--dashboard-card);
    box-shadow: 0 20px 45px rgba(42, 59, 44, 0.08);
}

.dashboard-shell .chart-container {
    min-height: 320px;
    padding: 1.25rem;
}

.dashboard-shell #myTable1_wrapper {
    margin-top: 1.5rem;
    padding: 1rem;
}

.dashboard-shell table.dataTable thead th,
.dashboard-shell table.dataTable thead td {
    border-bottom: 1px solid var(--dashboard-line);
    color: var(--dashboard-muted);
    font-weight: 700;
}

.dashboard-shell .button-container {
    justify-content: flex-start;
    margin: 1.75rem 0 0;
}

.dashboard-shell #analyze-button {
    width: auto;
    min-width: 220px;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dashboard-accent), #4f9260);
    box-shadow: 0 16px 35px rgba(47, 106, 67, 0.28);
}

.dashboard-shell #analyze-button:hover {
    background: linear-gradient(135deg, var(--dashboard-accent-strong), var(--dashboard-accent));
    transform: translateY(-1px);
}

@media screen and (max-width: 991px) {
    .dashboard-shell .dashboard-content {
        padding: 1rem 0.5rem 2.5rem;
    }

    .dashboard-shell .dashboard-mobile-home {
        display: flex;
        margin-bottom: 1rem;
    }

    .dashboard-shell .block {
        grid-template-columns: 1fr;
    }
}

/* Professional dashboard alignment */
.dashboard-shell {
    --dashboard-bg: #f3f5f7;
    --dashboard-card: #ffffff;
    --dashboard-line: rgba(15, 23, 42, 0.08);
    --dashboard-text: #0f172a;
    --dashboard-muted: #64748b;
    --dashboard-accent: #16202a;
    --dashboard-accent-strong: #0f172a;
    --dashboard-highlight: #7dd3fc;
    background: #f3f5f7;
    color: var(--dashboard-text);
    font-family: 'Manrope', Arial, sans-serif;
}

.dashboard-shell .header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--dashboard-line);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.dashboard-shell .header_toggle,
.dashboard-shell .header_img {
    color: #0f172a;
}

.dashboard-shell .header_img {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

.dashboard-shell .l-navbar {
    background: #16202a;
    box-shadow: 18px 0 42px rgba(15, 23, 42, 0.14);
}

.dashboard-shell .nav_logo,
.dashboard-shell .nav_link {
    margin: 0 0.75rem 0.9rem 1rem;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    border-radius: 14px;
}

.dashboard-shell .nav_logo {
    background: rgba(255, 255, 255, 0.06);
}

.dashboard-shell .nav_logo-name,
.dashboard-shell .nav_icon,
.dashboard-shell .nav_name {
    color: #f8fafc;
}

.dashboard-shell .nav_link {
    color: rgba(248, 250, 252, 0.72);
}

.dashboard-shell .nav_link:hover,
.dashboard-shell .nav_link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.dashboard-shell .active::before {
    left: 10px;
    width: 4px;
    border-radius: 999px;
    background: var(--dashboard-highlight);
}

.dashboard-shell .dashboard-content {
    margin-left: 0;
    padding: 1.5rem 1rem 3rem;
}

.dashboard-shell .dashboard-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--dashboard-line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.dashboard-shell .dashboard-hero::after {
    display: none;
}

.dashboard-shell .dashboard-hero__inner {
    max-width: 900px;
    padding: 0.85rem 0 0.25rem;
}

.dashboard-shell .dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.8rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-shell .dashboard-hero h1 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.dashboard-shell .dashboard-hero .lead {
    margin-top: 0.9rem;
    margin-bottom: 0;
    max-width: 60ch;
    color: #475569;
}

.dashboard-shell .two h1 {
    padding: 0;
    margin: 0 0 1.25rem;
    color: #0f172a;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2.2rem);
    letter-spacing: -0.03em;
}

.dashboard-shell .dashboard-mobile-home__link {
    border: 1px solid var(--dashboard-line);
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.dashboard-shell .dashboard-mobile-home__link:hover {
    background: #f8fafc;
    color: #0f172a;
}

.dashboard-shell .block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
}

.dashboard-shell .chart-container,
.dashboard-shell .dataTables_wrapper,
.dashboard-shell #myTable1_wrapper {
    border: 1px solid var(--dashboard-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.dashboard-shell .chart-container {
    min-height: 320px;
    padding: 1rem;
}

.dashboard-shell .chart-container > div,
.dashboard-shell .chart-container .js-plotly-plot,
.dashboard-shell .chart-container .plot-container,
.dashboard-shell .chart-container .svg-container {
    width: 100% !important;
    min-height: 300px;
}

.dashboard-shell .chart-container .js-plotly-plot,
.dashboard-shell .chart-container .plot-container {
    height: 100% !important;
}

.dashboard-shell .chart-container > div {
    height: 300px;
}

.dashboard-shell #myTable1_wrapper {
    margin-top: 1.25rem;
    padding: 0.9rem;
}

.dashboard-shell table.dataTable thead th,
.dashboard-shell table.dataTable thead td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    color: #0f172a;
    font-weight: 700;
}

.dashboard-shell .button-container {
    justify-content: flex-start;
    margin: 1.5rem 0 0;
}

.dashboard-shell #analyze-button {
    width: auto;
    min-width: 220px;
    padding: 0.95rem 1.5rem;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    box-shadow: none;
}

.dashboard-shell #analyze-button:hover {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.14);
    transform: none;
}

@media screen and (max-width: 991px) {
    .dashboard-shell .dashboard-content {
        padding: 1rem 0.5rem 2.5rem;
    }
}

body.dashboard-shell.no-dashboard-header {
    margin-top: 0;
}

@media screen and (min-width: 768px) {
    .dashboard-shell {
        padding-left: calc(236px + 2rem);
    }

    .dashboard-shell .l-navbar {
        left: 0;
        width: 236px;
        padding: 1rem 1rem 0 0;
    }

    .dashboard-shell .dashboard-content,
    .dashboard-shell.body-pd .dashboard-content {
        padding-left: 2rem;
    }

    .dashboard-shell .show {
        left: 0;
        width: 236px;
    }
}

@media (max-width: 767px) {
    .dashboard-shell .l-navbar {
        width: 236px;
        left: -236px;
    }

    .dashboard-shell .show {
        left: 0;
    }
}

body.dashboard-shell.no-dashboard-header .dashboard-hero__inner {
    margin: 0 auto;
    text-align: center;
}

body.dashboard-shell.no-dashboard-header .dashboard-hero .lead {
    margin-left: auto;
    margin-right: auto;
}
