/* Popup Overlay */
.svs-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.svs-popup-overlay.svs-popup-active {
    opacity: 1;
    visibility: visible;
}

/* Popup Container */
.svs-popup-container {
    background: #fff;
    width: 800px;
    height: 800px;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.svs-popup-overlay.svs-popup-active .svs-popup-container {
    transform: scale(1);
}

/* Close Button */
.svs-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: #333;
    transition: all 0.2s ease;
    z-index: 10;
}

.svs-popup-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

/* Popup Content */
.svs-popup-content {
    padding: 40px 30px;
}

.svs-popup-content h1,
.svs-popup-content h2,
.svs-popup-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #1d2327;
}

.svs-popup-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #3c434a;
}

.svs-popup-content a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.svs-popup-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 850px) {
    .svs-popup-container {
        width: 95%;
        height: 90vh;
        max-height: 800px;
    }

    .svs-popup-content {
        padding: 30px 20px;
    }
}

/* Floating Action Button */
.svs-float-btn {
    position: fixed;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    z-index: 99999;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.svs-float-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    color: #fff;
    text-decoration: none;
}

.svs-float-btn.bottom-right {
    bottom: 30px;
    right: 30px;
}

.svs-float-btn.bottom-left {
    bottom: 30px;
    left: 30px;
}

.svs-float-btn.top-right {
    top: 30px;
    right: 30px;
}

.svs-float-btn.top-left {
    top: 30px;
    left: 30px;
}

@media (max-width: 768px) {
    .svs-float-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .svs-float-btn.bottom-right,
    .svs-float-btn.bottom-left {
        bottom: 20px;
    }

    .svs-float-btn.top-right,
    .svs-float-btn.top-left {
        top: 20px;
    }

    .svs-float-btn.bottom-right,
    .svs-float-btn.top-right {
        right: 20px;
    }

    .svs-float-btn.bottom-left,
    .svs-float-btn.top-left {
        left: 20px;
    }
}