/* --- STILI ISOLATI PER IL CONTENUTO DEL POPUP --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');


/* Poi applichi il font dove vuoi */
body, * {font-family: 'Roboto', sans-serif;}


/* --- MODAL OVERLAY --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.68);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 2.5s ease;
}

.modal.fade-in  { opacity: 1; }
.modal.fade-out { opacity: 0; }

#registerContent {
    width: 100%;
    height: 100%;
}

#registerContent iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.modal-content {
    position: relative;
    background: transparent;
    width: 90%;
    max-width: 560px;
    height: 380px;        /* ← altezza fissa invece di auto */
    border-radius: 12px;
    overflow: hidden;
}

.close {
    position: absolute;
    top: 10px; right: 16px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: color 0.2s;
}
.close:hover { color: #f04147; }


/* --- CONTENUTO POPUP (register_disabled.php) --- */
.pop-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;          /* ← occupa tutto il box */
    padding: 30px 25px 35px 25px;
    background: linear-gradient(135deg, #5b2a86 0%, #4f7ecb 50%, #1b2a49 100%);
    border-radius: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.logo-popup {
    margin-bottom: 20px;
}

.logo-popup img {
    width: 80%;
}

.pop-title {
    font-size: clamp(12px, 4vw, 24px);
    font-weight: 500;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 14px 0;
}

.pop-text {
    margin: 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-weight: 400;
}