

:root {
    --blue-light: #4da3ff;      /* Surface Water Temp */
    --blue-dark:  #0066b2;      /* Gage Height        */
    --green:      #90be6d;      /* Weather            */
    --orange:     #ff9f1c;      /* Sunrise / Sunset   */
    --moon:       #4b4a7f;      /* Moon Phase         */
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f0f4f8;
    color: #333;
}
.rrl-header {
    background: #005f73;
    color: white;
    padding: 1rem 2rem;
    text-align: center;
}
.rrl-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.rrl-section {
    margin-bottom: 2rem;
    padding: 1.5rem;


    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.rrl-section-current
{
background-color: rgba(255, 255, 255, 0.05);
}

.rrl-section-forecast
{
    background-color: rgba(0, 255, 0, 0.25);
}

.rrl-section-level
{
background-color: rgba(0, 0, 255, 0.25);
}


.rrl-section h2 {
    margin-top: 0;
    font-size: 1.4rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5rem;
}
.rrl-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}
.rrl-info-card {
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    color: white;


     backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.rrl-info-card:nth-child(1) { background-color: rgba(77, 163, 255, 0.25); /*var(--blue-light);*/ }
.rrl-info-card:nth-child(2) { background-color: rgba(0, 102, 178, 0.25); /*background: var(--blue-dark); */}
.rrl-info-card:nth-child(3) { background-color: rgba(144, 190, 109, 0.25); /*background: var(--green);*/ }
.rrl-info-card:nth-child(4) { background-color: rgba(255, 159, 28, 0.25);/*background: var(--orange); */}
.rrl-info-card:nth-child(5) { background-color: rgba(75, 74, 127, 0.25);/*background: var(--moon);*/ }
.rrl-info-card:nth-child(6) { background-color: rgba(255, 255, 255, 0.25);/*background: #ffffff; color: #005f73;*/ }
.rrl-info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.rrl-forecast-row {
    display: grid;
    /*grid-template-columns: repeat(7, 1fr);*/
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
}
        .rrl-forecast-day {
            border-radius: 6px;
            overflow: hidden;
            font-size: 0.9rem;
            box-shadow: 0 0 4px rgba(0,0,0,0.1);
        }
        .rrl-forecast-top,
        .rrl-forecast-bottom {
            padding: 0.6rem 0.4rem;
            color: #fff;
            text-align: center;
        }
        .rrl-forecast-top {
            background: var(--green);
        }
        .rrl-forecast-bottom {
            background: var(--moon);
        }
        .rrl-forecast-top .icon,
        .rrl-forecast-bottom .icon {
            font-size: 1.6rem;
            display: block;
            margin: 0.2rem auto;
        }
canvas {
    max-width: 100%;
}


/* map ------------------------------------------ */
.leaflet-control-container
{
    position: relative;
    z-index: 1000;
}

.leaflet-tile {
   /*filter: sepia(0.05) hue-rotate(1deg) blur(0.3px) !important;*/
  
}

#rrl-container {
    display: flex;
    height: 80vh;
    width: 100%;
     flex-direction: row; /* default desktop layout */
}

#rrl-categories {
    width: 200px;
    
    padding: 10px;
    
    z-index: 10;

    overflow-y: auto;
    display: flex;
    flex-direction: column;

    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.category-toggle {
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    font-weight:bold;
}

#rrl-map {
    flex: 1;
    position: relative;
    z-index: 1;
    min-height:0;
}

#rrl-info-panel {
    width: 0;
    overflow-x:hidden;
    overflow-y: auto;
    transition: left 0.3s ease;
    
    left:-110%;
    padding: 20px;
    width:100%;
    position:relative;


     background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#rrl-info-panel.open {
    left:0;
    
}

.category-toggle.active {
    background-color: #eef;
    border-left: 3px solid #0077cc;
}

.leaflet-tooltip.rrl-tooltip {
    background-color: rgba(255, 255, 255, 0.9);
    color: #222;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 13px;
    pointer-events: none; /* prevents blocking clicks */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}


.rrl-info-panel h6
{
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}



.marker-description {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
    color: #333;
}

.marker-description div {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    #rrl-container {
        flex-direction: column;
    }

    #rrl-map {
        height: 60vh; /* top portion of screen */
        width: 100%;
    }

    #rrl-categories {
        width: 100%;
        flex-direction: column;
      /*  height: auto;
        max-height: 40vh;*/
        overflow-y: auto;
    }

    #rrl-info-panel {
        border-top: 1px solid #ccc;
    }
}


/*-- calendar --------------------------------------------------------------------*/

/* Main container layout */
#rr-calendar-wrapper {
    max-width: 1000px;
    margin: 2em auto;
    
    font-family: sans-serif;
    display: flex;
    flex-direction: row;
    gap: 1em;
    padding: 1em;
    
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.rr-left-panel {
    flex: 1;
    min-width: 260px;
}

.rr-right-panel {
    flex: 2;
}

/* Header with nav buttons */
.rr-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1em;
    background: #f1f1f1;
    padding: 0.5em;
    border-radius: 6px;
}

.rr-calendar-header button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 0.4em 0.75em;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.rr-calendar-header button:hover {
    background: #005b8f;
}

.rr-calendar-header span {
    flex: 1;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
}

/* Event sidebar */
#rr-event-sidebar {
    margin-top: 1em;
    padding: 0.75em;
    
    
    
    font-size: 0.9em;


     background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#rr-event-sidebar p
{
    margin:0;
}

/* Calendar table */
.rr-calendar-month {
   /* padding: 1em 0;*/
}

.rr-calendar-month table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.rr-calendar-month th,
.rr-calendar-month td {
    
    width: 14.2857%;
    
    vertical-align: top;
    padding: 4px;
    position: relative;
    
    overflow:hidden;



    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}



.rr-calendar-month td {
height: 100px;

 background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;           /* for overlays if needed */
    color: #fff;                  /* readable over photos */
}

.rr-calendar-month th {
    background: #eee;
    font-weight: bold;
    font-size: 0.85em;
    text-align: center !important;
}

.rr-day-num {
    /*font-weight: bold;*/
    font-size: 0.9em;
    margin-bottom: 0.25em;
}

.rr-has-event {
    background-color: #e6f7ff;
    cursor: pointer;
}

.rr-has-event:hover {
    background-color: #d0ebff;
}

.rr-mini-title {
    font-size: 0.75em;
    line-height: 1.2;
    margin-top: 2px;
    display: block;
    color: white;
     text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.rr-calendar-info
{
    margin:1em;
}

#rr-calendar-wrapper h3
{ 
    text-align: center;
}

.rr-today {
    border: 2px solid #0073aa;
    background-color: #eaf6ff !important;
    position: relative;
}



/* Responsive */
@media (max-width: 768px) {
    #rr-calendar-wrapper {
        flex-direction: column;
    }

    .rr-calendar-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .rr-calendar-header button {
        width: 100%;
    }
} 


/*---- fishing ---------------------------------------- */

.fishing-report-single 
{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem;
    color: white; /* adjust depending on your design */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* improve readability */
}

/* Optional translucent overlay */
.fishing-report-single::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

/* Ensure content is above the overlay */
.fishing-report-single > * {
    position: relative;
    z-index: 1;
}

.latest-fishing-report {
    font-weight: bold;
    background: #f0f8ff;
    border-left: 4px solid #0073aa;
    padding: 0.5em 1em;
    margin: 1em 0;
   /* animation: ticker 15s linear infinite;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*
@keyframes ticker {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}*/

.fishing-report-featured-image {
    margin-bottom: 1.5em;
    text-align: center;
}

.fishing-report-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fishing-report-single.fishing-reports
{
    border-radius:0;
}

.fishing-reports
{
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

    display:flex;
}

.fishing-reports .fishing-report
{
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

    margin:1em;
}