.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 245, 240, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: #FFFFFF;
    border-radius: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 12px 12px 0 #000000;
    border: 4px solid #000000;
    transform: none;
    transition: none;
    position: relative;
}

.popup-overlay.show .popup-container {
    transform: none;
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #FFE5D9;
    border-bottom: 4px solid #000000;
    margin-bottom: 0;
}

.popup-title {
    font-size: 20px;
    font-weight: 900;
    color: #000000;
    margin: 0;
    text-transform: uppercase;
}

.popup-close {
    background: #FF6B6B;
    border: 3px solid #000000;
    font-size: 18px;
    color: #FFFFFF;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 0;
    box-shadow: 3px 3px 0 #000000;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.popup-close:hover {
    background: #FF4D4D;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000000;
}

.popup-content {
    padding: 24px;
    color: #000000;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 600;
}

.popup-content p {
    margin: 0 0 12px;
}

.popup-content p:last-child {
    margin-bottom: 0;
}

.popup-actions {
    padding: 20px 24px;
    border-top: 4px solid #000000;
    background: #FFF9F0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.popup-btn {
    padding: 10px 20px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: none;
    border: 3px solid #000000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    box-shadow: 4px 4px 0 #000000;
    text-transform: uppercase;
}

.popup-btn-primary {
    background: #00BBF9;
    color: #000000;
    border-color: #000000;
}

.popup-btn-primary:hover {
    background: #00BBF9;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000000;
}

@media (max-width: 768px) {
    .popup-container {
        width: 92%;
        margin: 20px;
        max-height: calc(100vh - 40px);
        box-shadow: 8px 8px 0 #000000;
    }

    .popup-header {
        padding: 16px;
    }

    .popup-content {
        padding: 16px;
    }

    .popup-actions {
        padding: 16px;
    }

    .popup-title {
        font-size: 17px;
    }

    .popup-close {
        width: 28px;
        height: 28px;
        box-shadow: 2px 2px 0 #000000;
        border: 2px solid #000000;
    }

    .popup-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        box-shadow: 3px 3px 0 #000000;
        border: 3px solid #000000;
    }
}

@media (max-width: 480px) {
    .popup-container {
        width: 90%;
        box-shadow: 6px 6px 0 #000000;
        border: 3px solid #000000;
    }

    .popup-header {
        padding: 12px;
    }

    .popup-content {
        padding: 12px;
        font-size: 14px;
    }

    .popup-actions {
        padding: 12px;
    }

    .popup-title {
        font-size: 15px;
    }

    .popup-close {
        width: 26px;
        height: 26px;
        font-size: 14px;
        box-shadow: 2px 2px 0 #000000;
        border: 2px solid #000000;
    }

    .popup-btn {
        padding: 10px 14px;
        font-size: 13px;
        box-shadow: 3px 3px 0 #000000;
    }
}