@charset "UTF-8";
/* CSS Document */
body {
    background: linear-gradient(180deg, #192933 0%, #142129 100%) fixed;
    padding: 0px;
    margin: 0px;
    min-height: 100vh;
	  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {color: #ffffff; }
.footer {color:#ffffff;}
h1 {font-size: 100px;
	font-family: "area-normal", sans-serif;
font-weight: 800;
font-style: normal;}
p{color:#ffffff;}

.navbar .nav-link {
    font-family: "area-normal", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    text-decoration: none;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 5px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.navbar .nav-link:hover::after {
    width: 100%;
}
.navbar-brand img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}
.form-label {
    margin-bottom: .5rem;
	color:#ffffff!important;
}

.small, small {
    font-size: 12px; color: #ffffff;;
}
 #map {
            width: 100%;
            height: 100%;
            border-radius: 0.25rem;
        }
        .card {
            background-color: rgba(255, 255, 255, 0) !important;
            border: 1px solid rgba(255, 255, 255, 0.5) !important;
			color:#ffffff;
			 font-family: "area-normal", sans-serif;
        font-weight: 600;
        font-style: normal;
        }
        .card-body {
            background-color: transparent !important;
        }
        .alert {
            background-color: rgba(255, 193, 7, 0.2) !important;
            border-color: rgba(255, 193, 7, 0.8) !important;
			color: #ffffff!important;
        }
.text-muted {
   color:#ffffff!important;
}

.loading-state {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
}

.loading-step {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin: 10px 0;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.loading-step-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Highlight active loading step */
.loading-step.active {
    border-color: #007bff;
    background-color: #f8f9ff;
}

/* Style for completed steps */
.loading-step.completed {
    border-color: #28a745;
    background-color: #f8fff8;
}

/* Make spinner more visible */
.spinner-border-sm {
    width: 1.2rem !important;
    height: 1.2rem !important;
    border-width: 0.2em !important;
}

/* Fade opacity during refresh */
.refreshing {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.temp-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.card-body {
    position: relative;
}

/* Make refresh button more prominent */
.btn-outline-primary:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Add loading animation */
@keyframes refreshRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refreshing .fa-sync-alt {
    animation: refreshRotate 1s linear infinite;
}
.cache-info i {
    font-size: 1rem;
}
  #river_conditions_map {
            height: 60vh;
            width: 100%;
            margin: 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .location-popup {
            min-width: 300px;
        }
        .location-popup h3 {
            margin-bottom: 10px;
            padding-bottom: 5px;
            border-bottom: 1px solid #eee;
			color:#000000;
			font-size: 14px;
        }
        #detailPanel {
            display: none;
            
          

        }
        .detail-card {
            height: 100%;
        }
       .loading-spinner {
    text-align: center;
    padding: 2rem;

    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

.loading-spinner p {
    font-size: 16px;
    color: #ffffff;
    margin-top: 1rem;
}
        .prediction-chart {
            height: 300px;
            margin-top: 20px;
        }
/* Remove the duplicate entries and consolidate the safety alert styles */
.safety-alert {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    border-left: 4px solid;
    background-color: rgba(255, 255, 255, 0.05); /* Using rgba */
}

.safety-alert.safety-normal {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
    color: #ffffff; /* Match your site's text color */
}

.safety-alert.safety-caution {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
    color: #ffffff; /* Match your site's text color */
}

.safety-alert.safety-warning {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #ffffff; /* Match your site's text color */
}

.safety-content {
    flex: 1;
}

.safety-icon {
    flex-shrink: 0;
    width: 40px;
}

/* Add styles for the safety message elements */
.safety-alert h5,
.safety-alert p {
    color: #ffffff; /* Match your site's text color */
    margin-bottom: 0.5rem;
}

.safety-alert .safety-icon i {
    opacity: 0.9; /* Make icons slightly translucent */
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
   

    /* Adjust metrics cards */
    .card-text.display-6 {
        font-size: 1.5rem; /* Smaller font size for metrics */
    }

    /* Adjust the humidity split view */
    .col-6 {
        padding: 0 5px; /* Reduce padding on small screens */
    }

    /* Make prediction chart more compact */
    #predictionChart {
        height: 250px !important;
    }

    /* Adjust container padding */
    .container.py-3 {
        padding: 10px !important;
    }

    /* Adjust card spacing */
    .card {
        margin-bottom: 15px;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    /* Adjust headings */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
}

/* Even smaller screens */
@media screen and (max-width: 480px) {
    #map {
        min-height: 250px;
    }

    .card-text.display-6 {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 5px !important;
    }

    /* Further compress metrics display */
    .mb-4 {
        margin-bottom: 0.5rem !important;
    }
}

/* Ensure touch interactions work well */
@media (hover: none) {
    .leaflet-container {
        cursor: default;
    }
}