/* Personalization Components */

/* Banner */
.owl-p-banner {
    width: 100%;
    padding: 24px 20px;
    position: relative;
}

.owl-p-banner > * {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Modal */
.owl-p-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

.owl-p-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 32px;
    animation: slideUp 0.3s ease;
}

/* Notification Bar */
.owl-p-notification {
    width: 100%;
    padding: 16px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Fixed Positioning */
.owl-p-fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.owl-p-fixed-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

/* Close Button */
.owl-p-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.owl-p-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Themes */
.owl-p-theme-dark-blue {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2847 100%);
    color: #fff;
}

.owl-p-theme-dark-blue .owl-p-close {
    color: #fff;
}

.owl-p-theme-dark-blue a,
.owl-p-theme-dark-blue button:not(.owl-p-close) {
    background: #2563eb;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.owl-p-theme-dark-green {
    background: linear-gradient(135deg, #1a4731 0%, #052e16 100%);
    color: #fff;
}

.owl-p-theme-dark-green .owl-p-close {
    color: #fff;
}

.owl-p-theme-dark-green a,
.owl-p-theme-dark-green button:not(.owl-p-close) {
    background: #10b981;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.owl-p-theme-light {
    background: #f9fafb;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.owl-p-theme-light .owl-p-close {
    color: #111827;
    background: rgba(0, 0, 0, 0.1);
}

.owl-p-theme-light .owl-p-close:hover {
    background: rgba(0, 0, 0, 0.15);
}

.owl-p-theme-light a,
.owl-p-theme-light button:not(.owl-p-close) {
    background: #2563eb;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .owl-p-banner > * {
        flex-direction: column;
        text-align: center;
    }
    
    .owl-p-modal {
        max-width: 95%;
        padding: 24px;
    }
}
