/* ==========================================================================
   In the Shade of Green Theme - Nature Green Calendar
   Version: 1.2
   Updated: 2024-06-08
   Changes:
   - Nature-inspired green design with botanical aesthetics
   - Forest green, sage, mint, and moss palette with leaf patterns
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
    /* In the Shade of Green Palette */
    --itsg-bg: #F0F8F0;
    --itsg-text: #1B4D3E;
    --itsg-primary: #FFFFFF;
    --itsg-secondary: #F5FBF5;
    --itsg-date-number: #1B4D3E;

    /* Forest Green */
    --itsg-forest1: #4CAF50;
    --itsg-forest2: #388E3C;
    --itsg-forest3: #2E7D32;
    --itsg-forest4: rgba(76, 175, 80, 0.7);
    --itsg-forest5: rgba(76, 175, 80, 0.3);

    /* Sage Green */
    --itsg-sage1: #9CCC65;
    --itsg-sage2: #8BC34A;
    --itsg-sage3: #7CB342;
    --itsg-sage4: rgba(156, 204, 101, 0.7);
    --itsg-sage5: rgba(156, 204, 101, 0.3);

    /* Mint Green */
    --itsg-mint1: #C8E6C9;
    --itsg-mint2: #A5D6A7;
    --itsg-mint3: #81C784;
    --itsg-mint4: rgba(200, 230, 201, 0.7);
    --itsg-mint5: rgba(200, 230, 201, 0.3);

    /* Moss Green */
    --itsg-moss1: #689F38;
    --itsg-moss2: #558B2F;
    --itsg-moss3: #427A25;
    --itsg-moss4: rgba(104, 159, 56, 0.7);
    --itsg-moss5: rgba(104, 159, 56, 0.3);

    /* Fern Green */
    --itsg-fern1: #66BB6A;
    --itsg-fern2: #4CAF50;
    --itsg-fern3: #43A047;
    --itsg-fern4: rgba(102, 187, 106, 0.7);
    --itsg-fern5: rgba(102, 187, 106, 0.3);

    /* Olive Green */
    --itsg-olive1: #9E9D24;
    --itsg-olive2: #827717;
    --itsg-olive3: #665C00;
    --itsg-olive4: rgba(158, 157, 36, 0.7);
    --itsg-olive5: rgba(158, 157, 36, 0.3);

    /* Theme Variables */
    --itsg-shadow: rgba(76, 175, 80, 0.15);
    --itsg-radius: 10px;
    --itsg-transition: 0.25s ease;
    --itsg-hover: #388E3C;
    --itsg-glow: 0 0 15px rgba(76, 175, 80, 0.2);
    --itsg-pattern: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".04" fill="%234CAF50"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".05" fill="%234CAF50"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" opacity=".07" fill="%234CAF50"/></svg>');
}

/* ==================== ANIMATIONS ==================== */
@keyframes itsg-fade {

    0%,
    100% {
        opacity: 0.95;
    }

    50% {
        opacity: 1;
    }
}

@keyframes itsg-slide {
    from {
        transform: translateY(3px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes itsg-pulse {

    0%,
    100% {
        box-shadow: 0 0 3px var(--itsg-shadow);
    }

    50% {
        box-shadow: var(--itsg-glow);
    }
}

@keyframes itsg-wave {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@keyframes itsg-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes itsg-ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes itsg-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes itsg-leaf-sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

@keyframes itsg-bubble {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-20px) scale(1);
        opacity: 0;
    }
}

@keyframes itsg-growth {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes itsg-dewdrop {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-3px) scale(1.1);
    }
}

/* ==================== BASE STYLES ==================== */
.in-the-shade-of-green {
    font-family: 'Open Sans', sans-serif;
    color: var(--itsg-text);
    line-height: 1.5;
    font-size: 0.95rem;
    background-color: var(--itsg-bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.in-the-shade-of-green::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, var(--itsg-forest5) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--itsg-sage5) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M30,20 Q50,5 70,20 Q80,40 65,60 Q50,80 35,60 Q20,40 30,20" fill="%234CAF50" opacity="0.04"/><path d="M20,50 Q35,30 50,40 Q65,50 80,40" stroke="%239CCC65" fill="none" stroke-width="0.3" opacity="0.05"/></svg>');
    background-size: 150px 150px;
    pointer-events: none;
    z-index: 1;
}

.in-the-shade-of-green .container {
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    padding: 1.5rem;
    border: 1px solid var(--itsg-forest4);
    box-shadow:
        var(--itsg-glow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    position: relative;
    overflow: hidden;
    max-width: 1600px;
    margin: 0 auto;
    border-radius: 14px;
    z-index: 2;
    background-image:
        radial-gradient(circle at 10% 20%, var(--itsg-forest5) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, var(--itsg-sage5) 0%, transparent 50%);
}

.in-the-shade-of-green .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--itsg-forest1) 0%,
            var(--itsg-sage1) 50%,
            var(--itsg-mint1) 100%);
    animation: itsg-wave 4s linear infinite;
    background-size: 200% 100%;
}

.in-the-shade-of-green .container::after {
    content: "🌿";
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.15;
    animation: itsg-leaf-sway 3s ease-in-out infinite;
}

/* ==================== HEADER & TITLE ==================== */
.in-the-shade-of-green #calendar-title {
    font-family: 'Merriweather', serif;
    color: var(--itsg-text);
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    position: relative;
    font-weight: 600;
    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.8),
        0 1px 0 rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--itsg-forest1) 0%, var(--itsg-sage1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: itsg-shimmer 4s linear infinite;
}

.in-the-shade-of-green #calendar-title::after {
    content: "🍃";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    opacity: 0.5;
    animation: itsg-leaf-sway 3s ease-in-out infinite;
}

/* ==================== DATE & WEATHER DISPLAY ==================== */
.in-the-shade-of-green #date-weather-container {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    border: 1px solid var(--itsg-forest4);
    border-radius: var(--itsg-radius);
    position: relative;
    box-shadow:
        0 2px 12px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.in-the-shade-of-green #date-weather-container::before {
    content: "GREEN SHADE";
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    padding: 0 8px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--itsg-forest2);
    font-weight: 600;
    font-family: 'Merriweather', serif;
    text-transform: uppercase;
    border: 1px solid var(--itsg-forest4);
    border-radius: 4px;
}

.in-the-shade-of-green #date-weather-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--itsg-forest2), transparent);
}

.in-the-shade-of-green #current-date {
    font-family: 'Merriweather', serif;
    color: var(--itsg-text);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.in-the-shade-of-green #today-weather {
    font-family: 'Open Sans', sans-serif;
    color: var(--itsg-forest2);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* ==================== ANALOG CLOCK ==================== */
.in-the-shade-of-green #analog-watch {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.in-the-shade-of-green .clock-face {
    width: 150px;
    height: 150px;
    border: 2px solid var(--itsg-forest2);
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    box-shadow:
        0 4px 15px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.in-the-shade-of-green .clock-face::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    border-radius: 50%;
    z-index: 10;
    box-shadow:
        0 0 5px var(--itsg-shadow),
        inset 0 0 3px rgba(255, 255, 255, 0.5);
}

.in-the-shade-of-green .clock-face::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at center, transparent 70%, var(--itsg-forest5) 100%),
        repeating-conic-gradient(from 0deg,
            transparent 0deg 29deg,
            var(--itsg-sage5) 30deg 30deg);
}

.in-the-shade-of-green .hand {
    position: absolute;
    top: 50%;
    transform-origin: 100%;
    transform: rotate(90deg);
    transition: all 0.05s;
    transition-timing-function: cubic-bezier(0.1, 2.7, 0.58, 1);
    z-index: 5;
}

.in-the-shade-of-green .hour-hand {
    width: 35%;
    left: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--itsg-sage2) 0%, var(--itsg-forest2) 100%);
    margin-top: -1.5px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.in-the-shade-of-green .minute-hand {
    width: 45%;
    left: 5%;
    height: 2px;
    background: linear-gradient(90deg, var(--itsg-forest2) 0%, var(--itsg-mint2) 100%);
    margin-top: -1px;
    border-radius: 1.5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.in-the-shade-of-green .second-hand {
    width: 45%;
    left: 5%;
    height: 1px;
    background: linear-gradient(90deg, var(--itsg-primary) 0%, var(--itsg-olive1) 100%);
    margin-top: -0.5px;
}

/* ==================== CALENDAR TABLE ==================== */
.in-the-shade-of-green table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    margin: 1.5rem auto;
    background-color: transparent;
    table-layout: fixed;
}

/* DAY OF WEEK HEADERS */
.in-the-shade-of-green th {
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    color: var(--itsg-primary) !important;
    font-family: 'Merriweather', serif;
    font-weight: 600;
    padding: 0.8rem 0.4rem;
    border-radius: var(--itsg-radius);
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.in-the-shade-of-green th::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 100%);
    pointer-events: none;
}

.in-the-shade-of-green th span.full-day-name {
    display: inline;
    position: relative;
    z-index: 1;
}

.in-the-shade-of-green th abbr {
    display: none;
    text-decoration: none;
    border-bottom: none;
}

/* DATE NUMBER STYLES */
.in-the-shade-of-green td {
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    color: var(--itsg-text);
    padding: 0.8rem;
    border: 1px solid var(--itsg-forest4);
    height: 80px;
    vertical-align: top;
    transition: all var(--itsg-transition);
    position: relative;
    border-radius: var(--itsg-radius);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        0 1px 5px var(--itsg-shadow);
}

.in-the-shade-of-green td .date-number {
    color: var(--itsg-text) !important;
    font-weight: 600;
    font-size: 1.1rem;
    position: absolute;
    top: 6px;
    left: 6px;
    font-family: 'Merriweather', serif;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.in-the-shade-of-green td:hover {
    background: linear-gradient(135deg, var(--itsg-secondary) 0%, #EBF7EB 100%);
    box-shadow:
        0 4px 15px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    border-color: var(--itsg-forest2);
    transform: translateY(-2px);
}

/* Current date highlight */
.in-the-shade-of-green td.current-day {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(156, 204, 101, 0.1) 100%);
    border: 1px solid var(--itsg-forest2);
    animation: itsg-pulse 4s infinite;
    background-image:
        radial-gradient(circle at 70% 30%, var(--itsg-mint5) 0%, transparent 50%);
}

.in-the-shade-of-green td.current-day .date-number {
    color: var(--itsg-forest2) !important;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

.in-the-shade-of-green td.current-day::before {
    content: "🌿";
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    font-size: 1rem;
    animation: itsg-leaf-sway 2s ease-in-out infinite;
    opacity: 0.7;
}

/* ==================== EVENT MARKERS ==================== */
.in-the-shade-of-green .event-marker {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    margin: 0 1px;
    transition: all var(--itsg-transition);
    animation: itsg-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 2px var(--itsg-shadow),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

.in-the-shade-of-green .event-marker::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 2px;
    background-color: var(--itsg-primary);
    border-radius: 50%;
    opacity: 0.9;
}

.in-the-shade-of-green .event-marker:hover {
    transform: scale(1.3);
    background: linear-gradient(135deg, var(--itsg-sage2) 0%, var(--itsg-forest2) 100%);
    box-shadow:
        0 0 5px var(--itsg-shadow),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* ==================== MODAL STYLES ==================== */
.in-the-shade-of-green .modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    border: 1px solid var(--itsg-forest4);
    padding: 20px;
    color: var(--itsg-text);
    box-shadow:
        0 10px 30px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    border-radius: 14px;
    animation: itsg-slide 0.25s ease-out;
    overflow: hidden;
}

.in-the-shade-of-green .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--itsg-forest1) 0%,
            var(--itsg-sage1) 50%,
            var(--itsg-mint1) 100%);
    animation: itsg-wave 4s linear infinite;
    background-size: 200% 100%;
}

.in-the-shade-of-green .modal-content h2 {
    color: var(--itsg-text);
    font-family: 'Merriweather', serif;
    font-size: 1.8em;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--itsg-forest1) 0%, var(--itsg-sage1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Modal date display */
.in-the-shade-of-green .modal-date {
    font-family: 'Merriweather', serif;
    color: var(--itsg-text);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--itsg-forest4);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Event list */
.in-the-shade-of-green .event-list {
    margin: 1.2rem 0;
    padding: 0;
    list-style: none;
}

.in-the-shade-of-green .event-item {
    background: linear-gradient(135deg, var(--itsg-secondary) 0%, #EBF7EB 100%);
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--itsg-forest2);
    border-radius: var(--itsg-radius);
    transition: all var(--itsg-transition);
    box-shadow:
        0 1px 5px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.in-the-shade-of-green .event-item:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(156, 204, 101, 0.1) 100%);
    transform: translateX(3px);
    border-left-color: var(--itsg-sage2);
    box-shadow:
        0 2px 12px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.in-the-shade-of-green .event-time {
    font-family: 'Open Sans', sans-serif;
    color: var(--itsg-forest2);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    display: block;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.in-the-shade-of-green .event-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--itsg-text);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.in-the-shade-of-green .event-description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--itsg-text);
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.in-the-shade-of-green .modal-content button {
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    color: var(--itsg-primary);
    border: none;
    padding: 8px 16px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--itsg-transition);
    letter-spacing: 0.3px;
    font-family: 'Merriweather', serif;
    border-radius: var(--itsg-radius);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.in-the-shade-of-green .modal-content button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.in-the-shade-of-green .modal-content button:hover::before {
    left: 100%;
}

.in-the-shade-of-green .modal-content button:hover {
    background: linear-gradient(135deg, var(--itsg-hover) 0%, var(--itsg-sage3) 100%);
    box-shadow:
        0 4px 15px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Close Button */
.in-the-shade-of-green .modal .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    color: var(--itsg-forest2);
    border: 1px solid var(--itsg-forest2);
    width: 26px;
    height: 26px;
    cursor: pointer;
    transition: all var(--itsg-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: normal;
    box-shadow:
        0 1px 5px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.in-the-shade-of-green .modal .close-button:hover {
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    color: var(--itsg-primary);
    border-color: var(--itsg-forest2);
    transform: rotate(90deg);
}

/* ==================== BUTTONS & CONTROLS ==================== */
.in-the-shade-of-green .button,
.in-the-shade-of-green .transparent-button {
    border: 1px solid var(--itsg-forest2);
    color: var(--itsg-forest2);
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    padding: 0.6rem 1.2rem;
    font-family: 'Merriweather', serif;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--itsg-transition);
    position: relative;
    overflow: hidden;
    margin: 0.3rem;
    border-radius: var(--itsg-radius);
    letter-spacing: 0.02em;
    font-size: 0.9rem;
    box-shadow:
        0 1px 5px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.in-the-shade-of-green .button::before,
.in-the-shade-of-green .transparent-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--itsg-forest5), transparent);
    transition: left 0.6s;
}

.in-the-shade-of-green .button:hover::before,
.in-the-shade-of-green .transparent-button:hover::before {
    left: 100%;
}

.in-the-shade-of-green .button:hover,
.in-the-shade-of-green .transparent-button:hover {
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    color: var(--itsg-primary);
    box-shadow:
        0 3px 12px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}

.in-the-shade-of-green .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 1rem 0;
    gap: 0.4rem;
}

/* ==================== THEME SWITCHER ==================== */
.in-the-shade-of-green #theme-switcher-container {
    position: relative;
    margin: 0 0.6rem;
    min-width: 180px;
    z-index: 1000;
}

.in-the-shade-of-green #theme-switcher {
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%);
    color: var(--itsg-forest2) !important;
    border: 1px solid var(--itsg-forest2);
    padding: 0.6rem 1.8rem 0.6rem 0.8rem;
    font-family: 'Merriweather', serif;
    font-size: 0.9rem;
    font-weight: 500;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234CAF50'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 0.9rem;
    cursor: pointer;
    transition: all var(--itsg-transition);
    border-radius: var(--itsg-radius);
    box-shadow:
        0 1px 5px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

.in-the-shade-of-green #theme-switcher option {
    background: linear-gradient(135deg, var(--itsg-primary) 0%, var(--itsg-secondary) 100%) !important;
    color: var(--itsg-forest2) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 10px !important;
}

.in-the-shade-of-green #theme-switcher:focus {
    outline: none;
    border-color: var(--itsg-forest2);
    box-shadow:
        0 0 0 2px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.95);
}

/* ==================== BACK TO TOP BUTTON ==================== */
.in-the-shade-of-green #backToTopBtn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-family: 'Merriweather', serif;
    font-weight: 500;
    color: var(--itsg-primary);
    background: linear-gradient(135deg, var(--itsg-forest2) 0%, var(--itsg-sage2) 100%);
    cursor: pointer;
    transition: all var(--itsg-transition);
    opacity: 0.9;
    display: none;
    border-radius: var(--itsg-radius);
    box-shadow:
        0 2px 12px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.in-the-shade-of-green #backToTopBtn:hover {
    background: linear-gradient(135deg, var(--itsg-hover) 0%, var(--itsg-sage3) 100%);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow:
        0 4px 20px var(--itsg-shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* ==================== FOOTER ==================== */
.in-the-shade-of-green footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--itsg-forest4);
    color: var(--itsg-forest2);
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 992px) {
    .in-the-shade-of-green .container {
        padding: 1.2rem;
    }

    .in-the-shade-of-green #calendar-title {
        font-size: 1.8rem;
    }

    .in-the-shade-of-green #current-date {
        font-size: 1.3rem;
    }

    .in-the-shade-of-green #today-weather {
        font-size: 0.95rem;
    }

    .in-the-shade-of-green .modal-date {
        font-size: 1.2rem;
    }

    .in-the-shade-of-green .event-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .in-the-shade-of-green {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .in-the-shade-of-green .clock-face {
        width: 130px;
        height: 130px;
        border-width: 1.5px;
    }

    .in-the-shade-of-green th {
        font-size: 0.8rem;
        padding: 0.6rem 0.2rem;
    }

    .in-the-shade-of-green th span.full-day-name {
        display: none;
    }

    .in-the-shade-of-green th abbr {
        display: inline;
    }

    .in-the-shade-of-green td {
        padding: 0.6rem;
        height: 70px;
        font-size: 0.8rem;
    }

    .in-the-shade-of-green td .date-number {
        font-size: 1rem;
        top: 5px;
        left: 5px;
    }

    .in-the-shade-of-green td.current-day::before {
        font-size: 0.9rem;
        top: 3px;
        right: 3px;
    }

    .in-the-shade-of-green #backToTopBtn {
        right: 12px;
        bottom: 12px;
        padding: 0.7rem 1.3rem;
        font-size: 0.85rem;
    }

    .in-the-shade-of-green #theme-switcher {
        padding: 0.5rem 1.5rem 0.5rem 0.6rem;
        font-size: 0.85rem;
        min-width: 160px;
    }

    .in-the-shade-of-green .modal-content {
        padding: 16px;
    }

    .in-the-shade-of-green .event-item {
        padding: 0.7rem;
    }
}

@media (max-width: 576px) {
    .in-the-shade-of-green .container {
        padding: 1rem;
    }

    .in-the-shade-of-green #calendar-title {
        font-size: 1.5rem;
    }

    .in-the-shade-of-green #current-date {
        font-size: 1.2rem;
    }

    .in-the-shade-of-green #today-weather {
        font-size: 0.9rem;
    }

    .in-the-shade-of-green .clock-face {
        width: 110px;
        height: 110px;
        border-width: 1.5px;
    }

    .in-the-shade-of-green th {
        font-size: 0.75rem;
        padding: 0.5rem 0.15rem;
    }

    .in-the-shade-of-green td {
        padding: 0.5rem;
        height: 60px;
        font-size: 0.75rem;
    }

    .in-the-shade-of-green td .date-number {
        font-size: 0.9rem;
        top: 4px;
        left: 4px;
    }

    .in-the-shade-of-green #theme-switcher {
        min-width: 140px;
        font-size: 0.8rem;
    }

    .in-the-shade-of-green .modal-content {
        padding: 12px;
    }

    .in-the-shade-of-green .modal-date {
        font-size: 1.1rem;
    }

    .in-the-shade-of-green .event-time {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .in-the-shade-of-green th {
        font-size: 0.7rem;
        padding: 0.4rem 0.1rem;
    }

    .in-the-shade-of-green td {
        height: 55px;
    }

    .in-the-shade-of-green td .date-number {
        font-size: 0.85rem;
    }

    .in-the-shade-of-green #theme-switcher {
        min-width: 120px;
        font-size: 0.75rem;
    }

    .in-the-shade-of-green .controls {
        flex-direction: column;
        gap: 0.2rem;
    }

    .in-the-shade-of-green .button,
    .in-the-shade-of-green .transparent-button {
        width: 100%;
        margin: 0.15rem 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .in-the-shade-of-green {
        --itsg-forest2: #2E7D32;
        --itsg-sage2: #689F38;
    }

    .in-the-shade-of-green td.current-day {
        border: 2px solid var(--itsg-forest2);
        background: linear-gradient(135deg, rgba(46, 125, 50, 0.2) 0%, rgba(104, 159, 56, 0.2) 100%);
    }

    .in-the-shade-of-green th {
        background: var(--itsg-forest2);
    }

    .in-the-shade-of-green #calendar-title,
    .in-the-shade-of-green #current-date,
    .in-the-shade-of-green .event-title,
    .in-the-shade-of-green .event-description,
    .in-the-shade-of-green .modal-date {
        text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .in-the-shade-of-green *,
    .in-the-shade-of-green *::before,
    .in-the-shade-of-green *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .in-the-shade-of-green .hand {
        transition: none;
    }

    .in-the-shade-of-green .clock-face::before {
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .in-the-shade-of-green {
        --itsg-bg: #0A1F0A;
        --itsg-text: #E8F5E8;
        --itsg-primary: #1B3C1B;
        --itsg-secondary: #2A4D2A;
        --itsg-date-number: #E8F5E8;
        --itsg-shadow: rgba(76, 175, 80, 0.2);
    }

    .in-the-shade-of-green .container,
    .in-the-shade-of-green td {
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 0 0 1px var(--itsg-shadow);
    }

    .in-the-shade-of-green .modal-content {
        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px var(--itsg-shadow);
    }

    .in-the-shade-of-green .button,
    .in-the-shade-of-green .transparent-button {
        box-shadow:
            0 1px 5px rgba(0, 0, 0, 0.2),
            inset 0 0 0 1px var(--itsg-shadow);
    }

    .in-the-shade-of-green #calendar-title,
    .in-the-shade-of-green #current-date,
    .in-the-shade-of-green .event-title,
    .in-the-shade-of-green .event-description,
    .in-the-shade-of-green .modal-date {
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    }
}