.active-tv-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 12, 0.74);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.active-tv-overlay.is-open {
    display: flex;
    animation: activeTvFade 0.25s ease both;
}

.active-tv-modal {
    width: min(520px, 100%);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(10, 15, 25, 0.84);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    padding: 24px;
    position: relative;
}

.active-tv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.active-tv-close:hover {
    background: rgba(4, 153, 251, 0.2);
    transform: translateY(-1px);
}

.active-tv-title {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 10px;
}

.active-tv-desc {
    color: var(--secondary);
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 14px;
}

.active-tv-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.active-tv-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
}

.active-tv-input {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: var(--white);
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.active-tv-input:focus {
    border-color: rgba(4, 153, 251, 0.85);
    box-shadow: 0 0 0 2px rgba(4, 153, 251, 0.22);
}

.active-tv-input::placeholder {
    color: rgba(255,255,255,0.45);
}

.active-tv-error,
.active-tv-success {
    min-height: 20px;
    font-size: 13px;
    text-align: center;
    margin-top: 4px;
}

.active-tv-error {
    color: #ff6b6b;
}

.active-tv-success {
    color: #6ee7b7;
}

.active-tv-btn {
    width: 100%;
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 600;
    margin-top: 8px;
}

@keyframes activeTvFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 576px) {
    .active-tv-modal {
        padding: 18px;
    }

    .active-tv-title {
        font-size: 20px;
    }
}
