/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
    height: 100vh;
}

.secure-paypal img {
    filter: opacity(.5);
    width: 25px;
}

.modal-content {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 20px;
}

.modal-content .secure-paypal {
    display: flex;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

.modal-close:hover {
    background-color: #f5f5f5;
    transform: scale(1.1);
}

.modal-close .material-icons {
    color: #666;
    font-size: 20px;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-button {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    text-align: center;
}

.modal-button:hover {
    background-color: #1a237e;
}

/* Responsive Design */
@media (min-width: 768px) {
    .buttons-container {
        flex-direction: row;
        gap: 10px;
    }

    .modal-button {
        flex: 1;
    }
}

/* Animation */
.modal-overlay {
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    animation: slideIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}