@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&family=Roboto:wght@400;500;700&display=swap');

:root {
    /* DEFAULT COLORS (Will be overridden by gl_v18_inject_design) */
    --gl-main: #3A7D44; 
    --gl-main-rgb: 58, 125, 68;
    
    --gl-opt-fee-rgb: 244, 244, 244;
    --gl-fix-fee-rgb: 249, 249, 249;
    --gl-deposit-rgb: 255, 252, 245;
    --gl-down-rgb: 255, 255, 255;
    --gl-balance-rgb: 255, 255, 255;
    --gl-tax-rgb: 240, 247, 255;
    
    --gl-last-rgb: 255, 245, 245;
    --gl-early-rgb: 240, 255, 244;
    --gl-long-rgb: 230, 255, 250;

    --gl-hover: #4a8e55;
    --gl-bg: #ffffff;
    --gl-txt: #333333;
    --gl-h2: #222222;
    --gl-h3: #555555;
    --gl-border: #e2e8f0;
    --gl-radius: 8px; /* Default */
    --gl-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --- BASIS LAYOUT & RESET --- */
.gl-calendar-wrapper, .gl-price-list-wrap, #gl-price-breakdown, .gl-native-form {
    width: 100%;
    margin: 0 auto 30px auto;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif; 
    color: var(--gl-txt);
    line-height: 1.5;
}

.gl-native-form * { box-sizing: border-box; }

/* STRUCTURAL LAYOUT */
.gl-form-row { display: grid; grid-template-columns: 1fr; gap: 15px; }
.gl-form-row.gl-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gl-form-row.gl-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gl-form-row.gl-cols-4 { grid-template-columns: repeat(4, 1fr); }

.gl-months-container { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; } 
.gl-single-month { flex: 1; min-width: 260px; } 
.gl-days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; } 
.gl-week-head { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: bold; margin-bottom: 5px; font-size: 0.9em; }
.gl-nav-bar { display: flex; justify-content: space-between; align-items: center; }

/* BASE STATUS STYLES (Fallback) */
.gl-day.blocked { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; background: #eee; color: #999; }
.gl-day.past { opacity: 0.3; cursor: default; }
.gl-day.today { font-weight: bold; border: 1px solid var(--gl-main); }

/* FIX: Prevent giant checkboxes */
.gl-native-form input[type="checkbox"], 
.gl-native-form input[type="radio"] {
    width: 20px !important; height: 20px !important; margin: 0; padding: 0 !important;
    appearance: auto; -webkit-appearance: auto;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: none !important;
}

/* Global Typography Override via Variables */
h2, .gl-sec-title, .gl-block-header { font-family: 'Roboto Condensed', sans-serif; }
h3, h4, strong { color: var(--gl-h3); }

/* --- STEPPER FIX --- */
.gl-stepper-input::-webkit-outer-spin-button,
.gl-stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gl-stepper-input { -moz-appearance: textfield; }

/* --- SWITCH TOGGLE CSS --- */
.gl-switch-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; }
.gl-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.gl-switch input { opacity: 0; width: 0; height: 0; }
.gl-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
}
.gl-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}
.gl-switch input:checked + .gl-slider { background-color: var(--gl-main); }
.gl-switch input:focus + .gl-slider { box-shadow: 0 0 1px var(--gl-main); }
.gl-switch input:checked + .gl-slider:before { transform: translateX(18px); }
.gl-slider.round { border-radius: 34px; }
.gl-slider.round:before { border-radius: 50%; }


/* ==========================================================================
   1. PURE MODERN THEME
   ========================================================================== */
.gl-theme-puremodern {
    background: #fff;
    border-radius: var(--gl-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 0; 
    font-family: 'Roboto', sans-serif;
    overflow: hidden; 
}

/* HEADER BAR ("Balken") */
.gl-theme-puremodern .gl-block-header {
    background: var(--gl-main);
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Bon PureModern */
.gl-theme-puremodern .gl-bon-wrap {
    border: 1px solid #f0f0f0;
    border-radius: var(--gl-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-top: 20px;
}
.gl-theme-puremodern .gl-bon-header {
    background: var(--gl-main);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 1.1em;
    font-family: 'Roboto Condensed', sans-serif;
}
.gl-theme-puremodern .gl-bon-body { padding: 20px; font-size: 0.95em; }
.gl-theme-puremodern .gl-bon-table td { padding: 10px 0; border-bottom: 1px solid #f8f8f8; }
.gl-theme-puremodern .gl-bon-total { font-size: 1.3em; color: var(--gl-main); font-weight: 700; padding-top: 15px; }

/* Kalender PureModern - Compact & Header Integrated */
.gl-theme-puremodern .gl-block-header .gl-nav-bar { padding: 0; } 
.gl-theme-puremodern .gl-nav-title { font-size: 1.1em; font-weight: 700; color: #fff; } 
.gl-theme-puremodern .gl-nav-btn { background: rgba(255,255,255,0.2); color: #fff; border-radius: 50%; width: 32px; height: 32px; border:none; cursor:pointer; transition: 0.2s; font-size: 14px; display:flex; align-items:center; justify-content:center; }
.gl-theme-puremodern .gl-nav-btn:hover { background: rgba(255,255,255,0.4); }

.gl-theme-puremodern .gl-months-container { padding: 20px; } 

.gl-theme-puremodern .gl-day { 
    border-radius: 50%; 
    font-weight: 500; 
    border: none; 
    background: transparent; 
    cursor: pointer; 
    transition: 0.1s; 
    font-size: 0.9em; 
    height: 32px; 
    width: 32px; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    margin: 0 auto; 
}
.gl-theme-puremodern .gl-day:hover:not(.blocked):not(.past) { background: #f0f0f0; color: #000; }

/* PureModern Status */
.gl-theme-puremodern .gl-day.blocked { background: transparent; color: #ddd; text-decoration: line-through; cursor: not-allowed; }
.gl-theme-puremodern .gl-day.past { opacity: 0.2; background: transparent; }

/* Range Styles - Half Circles & Solid Strip */
.gl-theme-puremodern .gl-day.range-start { 
    background: linear-gradient(to right, transparent 50%, var(--gl-main) 50%) !important; 
    color: #fff; 
    border-radius: 50% !important; 
    box-shadow: none;
}
.gl-theme-puremodern .gl-day.range-end { 
    background: linear-gradient(to right, var(--gl-main) 50%, transparent 50%) !important; 
    color: #fff; 
    border-radius: 50% !important; 
    box-shadow: none;
}
.gl-theme-puremodern .gl-day.in-range { 
    background: var(--gl-main) !important; 
    color: #fff; 
    border-radius: 0 !important; 
}
.gl-theme-puremodern .gl-days-grid { gap: 2px 0; } 

.gl-theme-puremodern .gl-day.gl-half-day { 
    background: linear-gradient(to right, #ddd 50%, transparent 50%) !important; 
    opacity: 1 !important; cursor: pointer !important; text-decoration: none !important; 
    color: #333;
    border-radius: 50%;
}

.gl-theme-puremodern .gl-day.range-start.gl-half-day { 
    background: linear-gradient(to right, #ddd 50%, var(--gl-main) 50%) !important; 
    color: #fff;
    border-radius: 50% !important;
}

/* Form PureModern */
.gl-theme-puremodern .gl-multi-step-form { padding: 20px; } 
.gl-theme-puremodern .gl-progress-bar-container { margin: 20px 20px 0 20px; }

.gl-theme-puremodern .gl-input, 
.gl-theme-puremodern input:not([type="checkbox"]):not([type="radio"]), 
.gl-theme-puremodern select, 
.gl-theme-puremodern textarea {
    background: #f9f9f9; 
    border: 1px solid #ddd; 
    border-radius: var(--gl-radius);
    padding: 10px 14px; 
    font-weight: 400; 
    transition: all 0.2s ease; 
    width: 100%;
    color: #333;
    font-size: 0.95em;
}
.gl-theme-puremodern input:focus { 
    background: #fff; 
    border-color: var(--gl-main); 
    box-shadow: 0 0 0 3px rgba(var(--gl-main-rgb), 0.1); 
}

/* Total Price Green */
.gl-theme-puremodern #gl_field_3 {
    color: var(--gl-main) !important;
    font-weight: 700;
    font-size: 1.2em;
    background: #fff;
    border-color: var(--gl-main);
}

/* Pill Button */
.gl-theme-puremodern .gl-submit-btn { 
    border-radius: 50px; 
    padding: 14px 30px; 
    font-size: 1em; 
    background: var(--gl-main); 
    box-shadow: 0 4px 12px -2px rgba(var(--gl-main-rgb), 0.4); 
    width: 100%; 
    border: none; 
    cursor: pointer; 
    color: #fff; 
    font-weight: 600; 
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
}
.gl-theme-puremodern .gl-submit-btn:hover {
    background: var(--gl-main); 
    color: #fff;
    border-color: var(--gl-main);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px -3px rgba(var(--gl-main-rgb), 0.5);
}

/* Stepper */
.gl-theme-puremodern .gl-stepper-wrapper { 
    background: #f5f5f5; 
    border: 1px solid #eee; 
    border-radius: 50px; 
    padding: 2px; 
    display: inline-flex; 
    align-items: center; 
    width: auto;
}
.gl-theme-puremodern .gl-step-btn { 
    border-radius: 50%; 
    width: 28px; 
    height: 28px; 
    background: #fff; 
    border: 1px solid #ddd; 
    cursor: pointer; 
    color: var(--gl-main);
    font-weight: bold;
    font-size: 1.1em;
    display:flex; align-items:center; justify-content:center;
    transition: all 0.2s;
}
.gl-theme-puremodern .gl-step-btn:hover {
    background: var(--gl-main);
    color: #fff;
    border-color: var(--gl-main);
}
.gl-theme-puremodern .gl-step-btn:active, 
.gl-theme-puremodern .gl-step-btn:focus {
    outline: none !important;
    background: var(--gl-main); 
    color: #fff;
    border-color: var(--gl-main);
    box-shadow: none !important;
}

/* Styled Back Button */
.gl-theme-puremodern .gl-back-btn {
    border-radius: 50px; 
    padding: 14px 30px; 
    font-size: 1em; 
    background: #fff; 
    border: 1px solid var(--gl-main);
    color: var(--gl-main);
    font-weight: 600; 
    cursor: pointer;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.gl-theme-puremodern .gl-back-btn:hover {
    background: var(--gl-main);
    color: #fff;
    border-color: var(--gl-main);
}
.gl-theme-puremodern .gl-stepper-input {
    background: transparent !important;
    border: none !important;
    text-align: center;
    font-weight: bold;
    color: #333;
    padding: 0 !important;
}

/* Extra Section Boxes */
.gl-theme-puremodern .gl-section-box {
    background: #fafafa;
    border-radius: var(--gl-radius);
    padding: 15px;
    border: 1px solid #eee;
}

/* Price List Table PureModern */
.gl-theme-puremodern .gl-price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.gl-theme-puremodern .gl-price-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #eee;
    color: var(--gl-h3);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.9em;
    text-transform: uppercase;
}
.gl-theme-puremodern .gl-price-table td {
    padding: 12px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.95em;
}
.gl-theme-puremodern .gl-price-table tr:last-child td { border-bottom: none; }
.gl-theme-puremodern .gl-price-list-wrap { padding-bottom: 20px; }
.gl-theme-puremodern .gl-price-list-wrap > div { padding: 0 20px; } 
.gl-theme-puremodern .gl-pl-title { display: none; } 


/* --- DYNAMIC ITEM STYLES USING VARIABLES --- */
/* Common base */
.gl-fee-item, .gl-discount-item, .gl-pay-item {
    padding: 15px;
    border-radius: var(--gl-radius);
    border: 1px solid #eee; /* Fallback */
    color: #333;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* 1. SELECTABLE FEES */
.gl-fee-selectable {
    background: rgba(var(--gl-opt-fee-rgb), 0.1) !important;
    border-color: rgba(var(--gl-opt-fee-rgb), 0.3) !important;
}

/* 2. FIXED FEES */
.gl-fee-fixed {
    background: rgba(var(--gl-fix-fee-rgb), 0.1) !important;
    border-color: rgba(var(--gl-fix-fee-rgb), 0.3) !important;
}

/* 3. KAUTION */
.gl-fee-kaution {
    background: rgba(var(--gl-deposit-rgb), 0.1) !important;
    border-color: rgba(var(--gl-deposit-rgb), 0.3) !important;
}

/* 4. DISCOUNTS */
.gl-discount-longstay {
    background: rgba(var(--gl-long-rgb), 0.1) !important;
    border-color: rgba(var(--gl-long-rgb), 0.3) !important;
    color: #234e52; /* Hard to make text dynamic, keeping default dark teal for contrast */
}

.gl-discount-lastminute {
    background: rgba(var(--gl-last-rgb), 0.1) !important;
    border-color: rgba(var(--gl-last-rgb), 0.3) !important;
    color: #822727;
}

.gl-discount-earlybird {
    background: rgba(var(--gl-early-rgb), 0.1) !important;
    border-color: rgba(var(--gl-early-rgb), 0.3) !important;
    color: #22543d;
}

/* 5. PAYMENT */
.gl-pay-down {
    background: rgba(var(--gl-down-rgb), 0.1) !important;
    border-color: rgba(var(--gl-down-rgb), 0.3) !important;
}

.gl-pay-balance {
    background: rgba(var(--gl-balance-rgb), 0.1) !important;
    border-color: rgba(var(--gl-balance-rgb), 0.3) !important;
}

.gl-fee-tax {
    background: rgba(var(--gl-tax-rgb), 0.1) !important;
    border-color: rgba(var(--gl-tax-rgb), 0.3) !important;
}

/* --- RESPONSIVE & LAYOUTS (Preserved) --- */
@media (max-width: 768px) {
    .gl-months-container { flex-direction: column; }
    .gl-form-row.two-col, .gl-form-row.gl-cols-2, .gl-form-row.gl-cols-3, .gl-form-row.gl-cols-4 { 
        grid-template-columns: 1fr !important; 
    }
    .gl-price-table, .gl-price-table thead, .gl-price-table tbody, .gl-price-table th, .gl-price-table td, .gl-price-table tr { 
        display: block; 
    }
    .gl-price-table thead tr { 
        position: absolute; top: -9999px; left: -9999px; 
    }
    .gl-price-table tr { 
        border: 1px solid #ccc; margin-bottom: 15px; border-radius: var(--gl-radius); overflow: hidden; 
    }
    .gl-price-table td { 
        border: none; border-bottom: 1px solid #eee; position: relative; padding-left: 50%; text-align: right; 
    }
    .gl-price-table td:before { 
        position: absolute; top: 12px; left: 12px; width: 45%; padding-right: 10px; white-space: nowrap; text-align: left; font-weight: bold; content: attr(data-label); 
    }
    .gl-price-table td:nth-of-type(odd) { background-color: #fafafa; }
    .gl-price-table td:first-child { background-color: #eee; color: #333; font-weight: bold; }
}

@media (min-width: 769px) {
    .gl-price-table, .gl-price-table thead, .gl-price-table tbody, .gl-price-table th, .gl-price-table td, .gl-price-table tr { display: table-cell; }
    .gl-price-table { display: table; }
    .gl-price-table thead { display: table-header-group; }
    .gl-price-table tbody { display: table-row-group; }
    .gl-price-table tr { display: table-row; }
    .gl-price-table thead tr { position: static; }
    .gl-price-table td:before { content: none !important; }
}

.gl-extra-item {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Stack Mode (List) */
.gl-layout-stack .gl-price-table, 
.gl-layout-stack .gl-price-table tbody, 
.gl-layout-stack .gl-price-table tr, 
.gl-layout-stack .gl-price-table td, 
.gl-layout-stack .gl-price-table th { display: block; width: 100%; }
.gl-layout-stack .gl-price-table thead { display: none; }
.gl-layout-stack .gl-price-table tr { 
    margin-bottom: 15px; border: 1px solid #eee; border-radius: var(--gl-radius); overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.gl-layout-stack .gl-price-table td { 
    text-align: right; padding: 12px 15px; border-bottom: 1px solid #f9f9f9; position: relative; padding-left: 50%; min-height: 40px;
}
.gl-layout-stack .gl-price-table td:before { 
    content: attr(data-label); position: absolute; left: 15px; top: 12px; font-weight: bold; color: inherit; opacity: 0.8;
}

/* Force List View */
.gl-force-list-view .gl-price-table, .gl-force-list-view .gl-price-table tbody, .gl-force-list-view .gl-price-table tr, .gl-force-list-view .gl-price-table td, .gl-force-list-view .gl-price-table th { display: block; width: 100%; }
.gl-force-list-view .gl-price-table thead { display: none; } 
.gl-force-list-view .gl-price-table tr { margin-bottom: 15px; border: 1px solid #eee; border-radius: var(--gl-radius); overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.gl-force-list-view .gl-price-table td { text-align: right; padding: 12px 15px; border-bottom: 1px solid #f9f9f9; position: relative; padding-left: 50%; min-height: 40px; }
.gl-force-list-view .gl-price-table td:before { content: attr(data-label); position: absolute; left: 15px; top: 12px; font-weight: bold; color: inherit; opacity: 0.8; }

.gl-value { font-weight: bold; }
.gl-media-img { max-width: 100%; height: auto; object-fit: contain; }
.gl-icon-controls { display: flex; gap: 10px; align-items: center; }
.gl-icon-preview-img { max-width: 30px; height: auto; border: 1px solid #ddd; border-radius: 3px; padding: 2px; }

/* MODERN SEARCH WIDGET (Airbnb Style) */
.gl-search-widget-modern {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    /* Force Remove Backgrounds/Borders - AGGRESSIVE RESET */
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 10px !important; /* Add padding to prevent shadow clipping */
    margin: 10px auto !important; /* Add margin for spacing */
}

.gl-search-bar {
    display: flex;
    background: #fff;
    border: 1px solid var(--gl-border);
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    overflow: visible; /* Allow shadow to breathe */
    height: 66px;
    align-items: center;
    padding: 8px;
    transition: box-shadow 0.2s;
}
.gl-search-bar:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.gl-search-trigger {
    flex: 1;
    padding: 0 20px 0 15px; /* Adjusted padding */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 40px;
    transition: background 0.2s;
    height: 100%;
}
.gl-search-trigger:hover {
    background: #f7f7f7;
}

/* Icon Wrapper */
.gl-trigger-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gl-main);
}

.gl-trigger-content {
    display: flex;
    flex-direction: column;
}

.gl-trigger-label {
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: var(--gl-h3);
}

.gl-trigger-value {
    font-size: 0.95em;
    color: var(--gl-txt);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.gl-search-btn-modern {
    background-color: var(--gl-main) !important;
    color: #fff !important;
    border: none !important;
    height: 50px !important;
    padding: 0 35px !important;
    border-radius: 50px !important;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    margin: 0 !important;
    align-self: center !important; /* Flex alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Roboto Condensed', sans-serif;
    transition: transform 0.2s, opacity 0.2s;
    appearance: none;
    -webkit-appearance: none;
    line-height: normal !important;
    flex-shrink: 0;
    text-align: center !important;
}
.gl-search-btn-modern:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* DROPDOWN CALENDAR - Fixed Positioning to avoid clipping */
.gl-search-dropdown {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 24px; /* Smoother radius */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Softer shadow */
    border: none !important; /* Remove sharp border */
    z-index: 999999 !important;
    padding: 20px;
    min-width: 300px;
    width: 100%;
}

/* On Desktop, try to keep it absolute but break out? No, absolute is clipped.
   Switch to Fixed Center for robustness against clipping containers */
@media (min-width: 1px) {
    .gl-search-dropdown.is-active {
        display: block !important;
        position: fixed !important;
        /* Top/Left set by JS dynamically */
        max-width: 600px !important; /* Match bar max-width */
        max-height: 80vh !important;
        overflow-y: auto !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Toast Notification */
.gl-search-toast {
    position: absolute;
    top: 75px;
    right: 0; /* Align right near button */
    background: #333;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000000;
}
.gl-search-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Force Block Display when Active */
.gl-search-dropdown.is-active {
    display: block !important;
}

/* Adjust Calendar inside Dropdown */
.gl-widget-calendar .gl-block-header {
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 15px;
}
/* Fix Thick Header Issue: Ensure standard height */
.gl-widget-calendar .gl-nav-bar {
    min-height: auto;
    height: auto;
}

.gl-widget-calendar .gl-months-container {
    flex-direction: column;
    padding: 0;
    gap: 20px;
}
.gl-widget-calendar .gl-single-month {
    min-width: 100%;
    margin-bottom: 0;
}
.gl-widget-calendar .gl-day {
    height: 40px;
    width: 40px;
    font-size: 0.95em;
}
/* Ensure grid doesn't collapse */
.gl-widget-calendar .gl-days-grid {
    display: grid !important;
}

@media (max-width: 480px) {
    .gl-search-btn-modern span { display: none; } /* Hide text keep icon if added? */
    .gl-search-trigger { padding: 0 15px; }
}
