/* ============================================================
   MZNET Störungs-Popup  –  popup.css
   Primärfarbe: #ED7902  |  Dunkel: #3d3d3d  |  BG: #e8e8e8
   Schriften: Cairo (Headline) | Source Sans 3 (Text)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@700&family=Source+Sans+3:wght@400;600&display=swap');

/* ---- Overlay ---- */
.mznet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity .25s ease;
}
.mznet-overlay.mznet-visible {
    opacity: 1;
}

/* ---- Popup-Box ---- */
.mznet-popup {
    background: #e7e7e7;
    border-radius: 6px;
    width: 100%;
    max-width: 680px;
    box-shadow: 0 8px 40px rgba(0,0,0,.35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(.97);
    transition: transform .25s ease;
    position: relative;
}
.mznet-overlay.mznet-visible .mznet-popup {
    transform: translateY(0) scale(1);
}

/* ---- Schließen-Button ---- */
.mznet-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #ED7902;
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .2s;
}
.mznet-close:hover { background: #c96400; }

/* ---- Body / Inhalt ---- */
.mznet-popup-body {
    padding: 52px 48px 36px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
	background-color: #fbfbfb;
}

/* ---- Spinner (Ladeanzeige) ---- */
.mznet-popup-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mznet-spinner-ring {
    width: 44px;
    height: 44px;
    border: 4px solid #ccc;
    border-top-color: #ED7902;
    border-radius: 50%;
    animation: mznet-spin .7s linear infinite;
}
@keyframes mznet-spin {
    to { transform: rotate(360deg); }
}

/* ---- Popup-Content ---- */
.mznet-popup-content {
    width: 100%;
    text-align: center;
}

/* Headline – Cairo 700, orange */
.mznet-headline {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #ED7902;
    margin: 0 0 10px;
    line-height: 1.2;
}

.mznet-headline.mznet-ok,
.mznet-headline.mznet-stoerung {
    color: #ED7902;
    font-weight: 700 !important;
	font-size: 2rem;
    line-height: 2.6rem;
}


/* Trennlinie */
.mznet-divider {
    border: none;
    border-top: 2px solid #c8c8c8;
    margin: 14px auto 22px;
    width: 80%;
}

/* Störungstext – Source Sans 3, 1rem */
.mznet-text {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.2rem;
    color: #242424;
    line-height: 1.5rem;
    text-align: left;
}


/* Zeitstempel */
.mznet-timestamp {
    margin-top: 18px;
    font-family: 'Source Sans 3', sans-serif;
    font-size: .82rem;
    color: #888;
    font-style: italic;
    text-align: left;
}

/* ---- Footer ---- */
.mznet-popup-footer {
    background: #ED7902;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 12px;
}
.mznet-footer-left {
    color: #fff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    white-space: nowrap;
}
.mznet-footer-right {
    display: flex;
    align-items: center;
}
.mznet-footer-logo {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* ---- Elementor-Button Trigger-Klasse ---- */
.mznet-stoerung-btn {
    cursor: pointer;
}

/* ---- Responsiv ---- */
@media (max-width: 600px) {
    .mznet-popup-body   { padding: 44px 24px 28px; }
    .mznet-headline     { font-size: 1.35rem; }
    .mznet-footer-left  { font-size: .88rem; }
    .mznet-footer-logo  { height: 28px; }
}
