/* ==========================================================================
   PHOTOBOOK MODAL STYLES
   ========================================================================== */

.photobook-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.photobook-modal {
    background: #ffffff !important;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid #e2e8f0;
    animation: pbModalFadeIn 0.3s ease;
    font-family: var(--pb-font-family);
}

@keyframes pbModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photobook-modal h3 {
    margin-top: 0;
    color: var(--pb-color-primary);
    font-family: var(--pb-font-family);
    font-weight: 700;
    font-size: var(--pb-font-size-xl);
    margin-bottom: 15px;
}

.photobook-modal p {
    color: var(--pb-color-text);
    font-size: var(--pb-font-size-base);
    line-height: 1.6;
    margin-bottom: 30px;
}

.photobook-modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.photobook-modal-btn {
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none !important;
    border: none;
    transition: all 0.2s ease;
    font-family: var(--pb-font-family);
    font-size: var(--pb-font-size-base);
    line-height: normal;
    display: inline-block;
}

/* Botón Confirmar (Primario) */
.photobook-btn-confirm {
    background: var(--pb-color-primary) !important;
    color: var(--pb-color-text) !important;
    font-weight: 600;
}

.photobook-btn-confirm:hover {
    background: var(--pb-color-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Botón Cancelar (Secundario) */
.photobook-btn-cancel {
    background: var(--pb-color-bg-light) !important;
    color: var(--pb-color-text) !important;
    border: 1px solid var(--pb-color-border) !important;
}

.photobook-btn-cancel:hover {
    background: var(--pb-color-border) !important;
}

/* Responsive */
@media (max-width: 480px) {
    .photobook-modal-actions {
        flex-direction: column;
    }

    .photobook-modal-btn {
        width: 100%;
    }
}