.popup-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none !important;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.popup-overlay.active {
    display: block !important;
    opacity: 1;
    pointer-events: auto;
}

#popup-load {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: -30px;
    width: 100%;
    height: 100vh;
    display: none !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, 0) scale(0.96);
    left: 50%;
    overflow-y: hidden;
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#popup-load.active {
    display: flex !important;
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    pointer-events: auto;
}

.popup-content {
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 998px;
    height: 100%;
    max-height: 560px;
    overflow-y: auto;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #384154 #f1f1f1;
    /* Firefox */
    display: flex;
    flex-direction: row;
}

/* Chrome, Edge, Safari */
.popup-content::-webkit-scrollbar {
    width: 8px;
    border-radius: 8px;
    background: #f1f1f1;
}

.popup-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff8800 60%, #ff6600 100%);
    border-radius: 8px;
}

.popup-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6600 60%, #ff8800 100%);
}

.popup-footer {
    width: 100%;
    height: 30px;
    background: #384154;
    max-width: 998px;
}

.popup-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.popup-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: #222;
    padding: 0 32px 16px 32px;
    text-align: left;
    line-height: 1.7;
    font-family: 'Roboto', Arial, sans-serif;
}

.popup-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ff8800;
    margin-bottom: 12px;
    margin-top: 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.popup-text .highlight {
    color: #ff6600;
    font-weight: 600;
    background: #fff7e6;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}

.popup-text .steps {
    margin-bottom: 20px;
    padding: 12px 18px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 136, 0, 0.04);
}

.popup-text .steps-title {
    font-weight: 600;
    color: #ff8800;
    margin-bottom: 8px;
}

.popup-text ol {
    padding-left: 22px;
    margin: 0 0 0 0;
}

.popup-text ol li {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.5;
}

.popup-text .download-links {
    margin: 18px 0 10px 0;
    padding: 10px 18px;
    background: #f1f8ff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 136, 255, 0.04);
}

.popup-text .download-title {
    font-weight: 600;
    color: #0077ff;
    margin-bottom: 8px;
}

.popup-text .download-btn {
    color: #fff;
    background: linear-gradient(90deg, #ff8800 60%, #ff6600 100%);
    padding: 4px 16px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-left: 6px;
}

.popup-text .download-btn:hover {
    background: linear-gradient(90deg, #ff6600 60%, #ff8800 100%);
    color: #fff200;
}

.popup-text .slogan {
    font-size: 16px;
    color: #ff8800;
    font-style: italic;
    margin-top: 18px;
    text-align: center;
    display: block;
}

.popup-close {
    background: #ff8800;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.popup-close:hover {
    background: #ff6600;
}

.popup-title {
    background: #384154;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    height: 34px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255, 136, 0, 0.08);
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    max-width: 1000px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-title .popup-close {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 14px;
    font-weight: normal;
    height: 100%;
    width: 14px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.popup-title .popup-close i {
    background: none;
    border: none;
    color: #FFF;
}

.popup-text .download-links ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 12px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.popup-text .download-links ul li {
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: center;
}

.popup-sitebar {
    width: 25%;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
}

.popup-sitebar .popup-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-sitebar .popup-menu li {
    padding: 12px 20px;
    font-size: 14px;
    color: #384154;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.popup-sitebar .popup-menu li.active,
.popup-sitebar .popup-menu li:hover {
    background: #384154;
    color: #FFF;
    font-weight: 600;
}

.popup-content-area {
    width: 75%;
    overflow-y: auto;
    border: 1px solid #384154;
    border-bottom: none;
}

.popup-item.active {
    display: block !important;
}

.popup-item {
    display: none;
}

.popup-text ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 12px 0;

}

.popup-text ul li {
    font-size: 16px;
    margin-bottom: 5px;
}

@keyframes popupTitleGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}