#gm-plugin-root .gm-public-wrapper { 
    max-width: 800px; 
    margin: 0 auto 8rem auto; 
    padding: 0 15px; 
    box-sizing: border-box; 
}

/* THE FIX: Force Divi font on text, but strictly protect icons using ID specificity */
#gm-plugin-root h1, #gm-plugin-root h2, #gm-plugin-root h3, 
#gm-plugin-root h4, #gm-plugin-root h5, #gm-plugin-root p, 
#gm-plugin-root span, #gm-plugin-root div, #gm-plugin-root a,
#gm-plugin-root button, #gm-plugin-root input, #gm-plugin-root label {
    font-family: inherit;
    box-sizing: border-box;
}

#gm-plugin-root i.bi {
    font-family: "bootstrap-icons" !important;
}

#gm-plugin-root .gm-glass-card { 
    background: #ffffff; 
    border-radius: 24px; 
    padding: 3.5rem; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.06); 
    border: 1px solid rgba(0,0,0,0.03); 
    box-sizing: border-box; 
}

#gm-plugin-root .gm-event-title { 
    font-weight: 800; 
    font-size: 2.2rem; 
    color: #1a1a1a; 
    letter-spacing: -0.5px; 
    margin: 0; 
    line-height: 1.2;
}

#gm-plugin-root .gm-description { 
    font-size: 1.05rem; 
    line-height: 1.7; 
    color: #555; 
}

#gm-plugin-root .gm-description a { 
    color: #61C3AA; 
    text-decoration: none; 
    font-weight: 600; 
    border-bottom: 2px solid rgba(97, 195, 170, 0.3); 
    transition: all 0.2s;
}

#gm-plugin-root .gm-description a:hover { 
    border-bottom-color: #61C3AA; 
}

#gm-plugin-root .gm-lang-pill { 
    background: #f8f9fa; 
    border: 1px solid #e9ecef; 
    color: #6c757d; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.9rem; 
    padding: 8px 20px; 
    transition: all 0.2s ease; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    white-space: nowrap;
}

#gm-plugin-root .gm-lang-pill:hover { 
    background: #ffffff; 
    border-color: #61C3AA; 
    color: #61C3AA; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(97, 195, 170, 0.15);
}

#gm-plugin-root .gm-meta-box { 
    background: #fcfdfd; 
    border: 1px solid rgba(97, 195, 170, 0.15); 
    border-left: 4px solid #61C3AA; 
    border-radius: 16px; 
    padding: 2rem; 
    margin-top: 1.5rem; 
    box-sizing: border-box; 
}

#gm-plugin-root .gm-icon-box { 
    width: 45px; 
    height: 45px; 
    border-radius: 12px; 
    background: rgba(97, 195, 170, 0.1); 
    color: #61C3AA; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.3rem; 
    flex-shrink: 0; 
}

#gm-plugin-root .gm-meta-label { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    font-weight: 700; 
    color: #8e9e9a; 
    margin-bottom: 2px;
}

#gm-plugin-root .gm-meta-value { 
    font-weight: 700; 
    color: #2d3748; 
    font-size: 1.05rem;
}

#gm-plugin-root .gm-meta-value a { 
    color: #2d3748; 
    text-decoration: none; 
    transition: all 0.2s;
}

#gm-plugin-root .gm-meta-value a:hover { 
    color: #61C3AA; 
}

#gm-plugin-root .gm-form-section { 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 20px; 
    padding: 2.5rem; 
    margin-top: 2.5rem; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); 
    box-sizing: border-box; 
}

#gm-plugin-root .gm-form-label { 
    font-weight: 700; 
    color: #4a5568; 
    font-size: 0.95rem; 
    margin-bottom: 8px;
}

#gm-plugin-root .form-control, #gm-plugin-root .form-select { 
    padding: 14px 20px; 
    border-radius: 12px; 
    border: 2px solid #edf2f7; 
    background-color: #f7fafc; 
    font-size: 1.05rem; 
    color: #2d3748; 
    transition: all 0.2s ease; 
    box-sizing: border-box; 
    width: 100%;
}

#gm-plugin-root .form-control:focus, #gm-plugin-root .form-select:focus { 
    background-color: #ffffff; 
    border-color: #61C3AA; 
    box-shadow: 0 0 0 4px rgba(97, 195, 170, 0.15); 
    outline: none; 
}

#gm-plugin-root .form-check-input { 
    width: 1.5rem; 
    height: 1.5rem; 
    margin-top: 0.1rem; 
    border-color: #cbd5e0; 
}

#gm-plugin-root .form-check-input:checked { 
    background-color: #61C3AA; 
    border-color: #61C3AA; 
}

#gm-plugin-root .btn-success-modern { 
    background-color: #61C3AA; 
    background-image: linear-gradient(135deg, #61C3AA 0%, #4DAA94 100%); 
    border: none; 
    border-radius: 12px; 
    padding: 16px; 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: white; 
    transition: all 0.3s ease; 
    box-shadow: 0 10px 20px rgba(97, 195, 170, 0.2); 
}

#gm-plugin-root .btn-success-modern:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 25px rgba(97, 195, 170, 0.3); 
    color: white;
}

#gm-plugin-root .btn-info-modern { 
    background-color: #0dcaf0; 
    background-image: linear-gradient(135deg, #0dcaf0 0%, #0aa9c9 100%); 
    border: none; 
    border-radius: 12px; 
    padding: 16px; 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: white; 
    transition: all 0.3s ease; 
    box-shadow: 0 10px 20px rgba(13, 202, 240, 0.2); 
}

#gm-plugin-root .btn-info-modern:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 25px rgba(13, 202, 240, 0.3); 
    color: white;
}

#gm-plugin-root .gm-badge-spots { 
    display: inline-flex; 
    align-items: center; 
    background-color: rgba(97, 195, 170, 0.1); 
    color: #4DAA94; 
    border: 1px solid rgba(97, 195, 170, 0.3); 
    padding: 10px 20px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.95rem; 
}


/* =========================================================
   COUNTDOWN TIMER (Elegant Micro-Boxes with Words)
   ========================================================= */

#gm-plugin-root .gm-countdown { 
    display: inline-flex; 
    gap: 10px; 
    margin: 0; 
    justify-content: center; 
}

#gm-plugin-root .gm-cd-box { 
    background: #ffffff; 
    border: 1px solid #edf2f7; 
    border-radius: 8px; 
    padding: 6px 12px; 
    text-align: center; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.02); 
    display: flex; 
    align-items: baseline; 
    gap: 5px; 
    justify-content: center;
}

#gm-plugin-root .gm-cd-val { 
    font-size: 1.15rem; 
    font-weight: 800; 
    color: #61C3AA; 
    line-height: 1; 
}

#gm-plugin-root .gm-cd-lbl { 
    font-size: 0.75rem; 
    color: #94a3b8; 
    font-weight: 700; 
    margin-top: 0; 
    text-transform: lowercase; 
}


/* Skeletons */
#gm-plugin-root .gm-skeleton-title { height: 45px; width: 70%; background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%); background-size: 200% 100%; animation: 1.5s shine linear infinite; border-radius: 12px; margin-bottom: 20px; }
#gm-plugin-root .gm-skeleton-box { height: 120px; width: 100%; background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%); background-size: 200% 100%; animation: 1.5s shine linear infinite; border-radius: 16px; margin-bottom: 20px; }
#gm-plugin-root .gm-skeleton-desc { height: 250px; width: 100%; background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%); background-size: 200% 100%; animation: 1.5s shine linear infinite; border-radius: 20px; margin-top: 30px; }
@keyframes shine { to { background-position-x: -200%; } }

/* Share Buttons */
#gm-plugin-root .gm-share-row { display: flex; gap: 12px; justify-content: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px dashed #e2e8f0; }
#gm-plugin-root .btn-share { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; color: white; font-size: 1.2rem; transition: all 0.2s; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
#gm-plugin-root .btn-share:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.15); }
#gm-plugin-root .btn-wa { background: #25D366; }
#gm-plugin-root .btn-fb { background: #1877F2; }
#gm-plugin-root .btn-copy { background: #4a5568; }

/* Form Validation Styling */
#gm-plugin-root .form-control.is-valid { border-color: #10b981; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right calc(.375em + .1875rem) center; background-size: calc(.75em + .375rem) calc(.75em + .375rem); }

/* Sticky Mobile Bar */
#gm-plugin-root .gm-sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 15px 20px; box-shadow: 0 -10px 30px rgba(0,0,0,0.08); z-index: 998; transform: translateY(150%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); display: none; }
@media (max-width: 768px) { #gm-plugin-root .gm-sticky-bar { display: block; } }
#gm-plugin-root .gm-sticky-bar.show { transform: translateY(0); }

/* Admin Check-in specific */
#gm-plugin-root .gm-checkin-wrapper { max-width: 600px; }
#gm-plugin-root .gm-checkin-wrapper .gm-glass-card { padding: 3rem; text-align: center; }

/* Scroll to top */
#gm-plugin-root .gm-scroll-top { position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px; border-radius: 50%; background: #61C3AA; color: white; border: none; box-shadow: 0 10px 25px rgba(97, 195, 170, 0.4); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 9999; opacity: 0; pointer-events: none; transform: translateY(20px); transition: all 0.3s; }
#gm-plugin-root .gm-scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#gm-plugin-root .gm-scroll-top:hover { background: #4DAA94; transform: translateY(-5px) scale(1.05); color: white; }

@media (max-width: 768px) { 
    #gm-plugin-root .gm-public-wrapper { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: 100vw; padding: 0; box-sizing: border-box; overflow-x: hidden; } 
    #gm-plugin-root .gm-glass-card { padding: 2rem 15px; border-radius: 0; border-left: none; border-right: none; box-shadow: none; border-top: 1px solid rgba(0,0,0,0.03); border-bottom: 1px solid rgba(0,0,0,0.03); width: 100vw; max-width: 100vw; box-sizing: border-box; margin: 0; } 
    #gm-plugin-root .gm-form-section { padding: 1.5rem 15px; border-radius: 16px; margin-top: 1.5rem; width: 100%; box-sizing: border-box; } 
    #gm-plugin-root .gm-event-title { font-size: 1.75rem; word-break: break-word; } 
    #gm-plugin-root .gm-meta-box { flex-direction: column; gap: 1.25rem; padding: 1.5rem 15px; margin-top: 1rem; width: 100%; box-sizing: border-box; } 
    #gm-plugin-root .gm-icon-box { width: 40px; height: 40px; font-size: 1.15rem; } 
    #gm-plugin-root .gm-meta-value { font-size: 1rem; word-break: break-word; }
    #gm-plugin-root .gm-scroll-top { bottom: 90px; right: 20px; width: 48px; height: 48px; font-size: 1.3rem; }
}

/* =========================================================
   MINI BOOTSTRAP UTILITIES (Protects Divi Theme)
   ========================================================= */
#gm-plugin-root .d-flex { display: flex; }
#gm-plugin-root .justify-content-between { justify-content: space-between; }
#gm-plugin-root .justify-content-center { justify-content: center; }
#gm-plugin-root .justify-content-end { justify-content: flex-end; }
#gm-plugin-root .align-items-start { align-items: flex-start; }
#gm-plugin-root .align-items-center { align-items: center; }
#gm-plugin-root .flex-wrap { flex-wrap: wrap; }
#gm-plugin-root .gap-2 { gap: 0.5rem; }
#gm-plugin-root .gap-3 { gap: 1rem; }

#gm-plugin-root .w-100 { width: 100%; }
#gm-plugin-root .m-0 { margin: 0; }
#gm-plugin-root .mb-0 { margin-bottom: 0; }
#gm-plugin-root .mb-1 { margin-bottom: 0.25rem; }
#gm-plugin-root .mb-2 { margin-bottom: 0.5rem; }
#gm-plugin-root .mb-3 { margin-bottom: 1rem; }
#gm-plugin-root .mb-4 { margin-bottom: 1.5rem; }
#gm-plugin-root .mb-5 { margin-bottom: 3rem; }
#gm-plugin-root .mt-1 { margin-top: 0.25rem; }
#gm-plugin-root .mt-2 { margin-top: 0.5rem; }
#gm-plugin-root .mt-3 { margin-top: 1rem; }
#gm-plugin-root .mt-4 { margin-top: 1.5rem; }
#gm-plugin-root .mt-5 { margin-top: 3rem; }
#gm-plugin-root .me-1 { margin-right: 0.25rem; }
#gm-plugin-root .me-2 { margin-right: 0.5rem; }
#gm-plugin-root .ms-1 { margin-left: 0.25rem; }
#gm-plugin-root .ms-2 { margin-left: 0.5rem; }
#gm-plugin-root .mx-auto { margin-left: auto; margin-right: auto; }

#gm-plugin-root .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
#gm-plugin-root .py-3 { padding-top: 1rem; padding-bottom: 1rem; }
#gm-plugin-root .py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
#gm-plugin-root .py-5 { padding-top: 3rem; padding-bottom: 3rem; }
#gm-plugin-root .px-3 { padding-left: 1rem; padding-right: 1rem; }
#gm-plugin-root .px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
#gm-plugin-root .px-5 { padding-left: 3rem; padding-right: 3rem; }
#gm-plugin-root .pt-3 { padding-top: 1rem; }

#gm-plugin-root .text-center { text-align: center; }
#gm-plugin-root .text-start { text-align: left; }
#gm-plugin-root .text-end { text-align: right; }

#gm-plugin-root .text-muted, #gm-plugin-root .text-secondary { color: #6c757d; }
#gm-plugin-root .text-dark { color: #212529; }
#gm-plugin-root .text-danger { color: #dc3545; }
#gm-plugin-root .text-success { color: #198754; }
#gm-plugin-root .text-primary { color: #0d6efd; }
#gm-plugin-root .text-info { color: #0dcaf0; }
#gm-plugin-root .bg-light { background-color: #f8f9fa; }

#gm-plugin-root .fw-bold { font-weight: 700; }
#gm-plugin-root .fw-bolder { font-weight: 800; }
#gm-plugin-root .fs-5 { font-size: 1.25rem; }
#gm-plugin-root .fs-6 { font-size: 1rem; }
#gm-plugin-root .small { font-size: 0.875em; }

#gm-plugin-root .rounded-3 { border-radius: 0.5rem; }
#gm-plugin-root .rounded-4 { border-radius: 1rem; }
#gm-plugin-root .rounded-pill { border-radius: 50rem; }
#gm-plugin-root .shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.075); }
#gm-plugin-root .border { border: 1px solid #dee2e6; }

#gm-plugin-root .alert { padding: 1rem 1rem; border-radius: 0.5rem; text-align: center; font-weight: bold;}
#gm-plugin-root .alert-success { background-color: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
#gm-plugin-root .alert-danger { background-color: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }
#gm-plugin-root .alert-warning { background-color: #fff3cd; color: #664d03; border: 1px solid #ffecb5; }
#gm-plugin-root .alert-info { background-color: #cff4fc; color: #055160; border: 1px solid #b6effb; }
#gm-plugin-root .alert-secondary { background-color: #e2e3e5; color: #41464b; border: 1px solid #d3d6d8; }
#gm-plugin-root .d-none { display: none; }

/* Spinners */
#gm-plugin-root .spinner-border { display: inline-block; width: 1rem; height: 1rem; vertical-align: text-bottom; border: 0.2em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gm-spin .75s linear infinite; }
#gm-plugin-root .spinner-border-sm { width: 1rem; height: 1rem; border-width: 0.2em; }
@keyframes gm-spin { to { transform: rotate(360deg); } }

/* Form overrides */
#gm-plugin-root .form-control.is-invalid { border-color: #dc3545; background-color: #fff8f8; }

/* Standard Buttons */
#gm-plugin-root .btn { display: inline-flex; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; align-items: center; justify-content: center; cursor: pointer; user-select: none; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.25rem; transition: all .15s ease-in-out; }
#gm-plugin-root .btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
#gm-plugin-root .btn-outline-primary { color: #0d6efd; border-color: #0d6efd; background: transparent; }
#gm-plugin-root .btn-outline-primary:hover { color: #fff; background-color: #0d6efd; }
#gm-plugin-root .btn-outline-dark { color: #212529; border-color: #212529; background: transparent; }
#gm-plugin-root .btn-outline-dark:hover { color: #fff; background-color: #212529; }
#gm-plugin-root .btn-outline-info { color: #0dcaf0; border-color: #0dcaf0; background: transparent; }
#gm-plugin-root .btn-outline-info:hover { color: #000; background-color: #0dcaf0; }
#gm-plugin-root .btn-outline-secondary { color: #6c757d; border-color: #6c757d; background: transparent; }
#gm-plugin-root .btn-outline-secondary:hover { color: #fff; background-color: #6c757d; }