/* ============================================================
   Zoho URL Manager – Frontend Shortcode Styles
   Fully isolated to prevent conflicts with Elementor / themes
   ============================================================ */

.zum-calendar-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    float: none;
    clear: both;
    position: relative;
    margin: 0 auto;
    left: auto !important;
    right: auto !important;
    text-align: left;
}

.zum-calendar-wrap iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: none;
    outline: none;
    min-height: 500px;
    float: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    vertical-align: top;
}

/* Error box */
.zum-calendar-error {
    display: block;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    padding: 16px 20px;
    color: #856404;
    font-size: 15px;
    box-sizing: border-box;
    width: 100%;
    float: none;
    clear: both;
    margin: 0;
}

.zum-calendar-error p {
    margin: 0;
    padding: 0;
}

/* ── Elementor isolation ───────────────────────────────────── */
.elementor-widget-container .zum-calendar-wrap,
.elementor-column .zum-calendar-wrap,
.elementor-section .zum-calendar-wrap,
.e-con .zum-calendar-wrap {
    position: relative !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.elementor-widget-container .zum-calendar-wrap iframe,
.elementor-column .zum-calendar-wrap iframe,
.elementor-section .zum-calendar-wrap iframe,
.e-con .zum-calendar-wrap iframe {
    float: none !important;
    display: block !important;
    width: 100% !important;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .zum-calendar-wrap iframe {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .zum-calendar-wrap iframe {
        min-height: 600px; /* taller on mobile for usability */
    }
}
