/* DrDoo Popup Trigger Button */

.drdoo-popup-trigger {
    background-color: #04315A;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    font-family: inherit;
    padding: 4px 12px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.drdoo-popup-trigger:hover {
    background-color: #233C51;
}

/* DrDoo Popup Lightbox Styles */

.drdoo-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

.drdoo-popup-overlay.drdoo-active {
    display: flex;
}

.drdoo-popup-container {
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: drdooFadeIn 0.3s ease;
}

@keyframes drdooFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.drdoo-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    line-height: 1;
}

.drdoo-popup-close::before,
.drdoo-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #333;
    transition: background 0.2s;
}

.drdoo-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.drdoo-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drdoo-popup-close:hover::before,
.drdoo-popup-close:hover::after {
    background: #000;
}

.drdoo-popup-content {
    width: 100%;
}

/* Loading spinner */
.drdoo-popup-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.drdoo-popup-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top-color: #333;
    border-radius: 50%;
    animation: drdooSpin 0.8s linear infinite;
}

@keyframes drdooSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Prevent body scroll when popup is open */
body.drdoo-popup-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .drdoo-popup-container {
        width: 95%;
        padding: 25px 20px;
        max-height: 85vh;
    }

    .drdoo-popup-close {
        top: 10px;
        right: 10px;
    }
}
