.tnd-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: tnd-fade-in 0.25s ease;
}

@keyframes tnd-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tnd-popup-box {
    background: #ffffff;
    max-width: 460px;
    width: 100%;
    border-radius: 12px;
    padding: 32px 28px 28px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
    animation: tnd-pop-in 0.28s ease;
}

@keyframes tnd-pop-in {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.tnd-popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 4px 8px;
}

.tnd-popup-close:hover {
    color: #000;
}

.tnd-popup-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.tnd-popup-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 18px;
}

.tnd-popup-text p:last-child {
    margin-bottom: 0;
}

.tnd-popup-btn {
    display: inline-block;
    background: #1d4ed8;
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease;
}

.tnd-popup-btn:hover {
    background: #1739a8;
}

@media (max-width: 480px) {
    .tnd-popup-box {
        padding: 26px 20px 22px;
    }
    .tnd-popup-title {
        font-size: 19px;
    }
}
