/* Demo Import */

.ai-confirm-import-content #swal2-content {
    text-align: left !important;
    width: 85%;
    margin: 0 auto;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.swal2-popup {
    width: 50rem !important;
    display: flex;
}

.swal2-title {
    font-size: 28px !important;
    margin: 20px 0 !important;
}

.swal2-styled.swal2-confirm,
.swal2-styled.swal2-cancel {
    font-size: 14px !important;
    border: 0;
    border-radius: .25em;
    background: initial;
    color: #fff;
    font-size: 1.0625em;
    padding: 15px 40px;
    border-radius: 45px !important;
}

.swal2-styled.swal2-confirm {
    background: #45c396 !important;
}

.swal2-styled.swal2-cancel {
    background: #ea7070 !important;
}

.swal2-popup #swal2-content p {
    padding-left: 20px;
    padding-right: 13px;
    width: 75%;
    margin: 0 auto;
    line-height: 1.8;
    margin-bottom: 20px !important;
    font-size: 14px;
    font-weight: 400;
}

.swal2-toast #swal2-content p {
    width: 100% !important;
    margin-bottom: 0 !important;
}

.theme-blogson .ocdi__gl-item-container .ocdi__gl-item:last-child {
    pointer-events: none;
}

/* Welcome Notice */
#spiraclethemes-site-library-notice {
    position: relative;
    padding: 0 !important;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 50%, #1a1a4e 100%) !important;
    color: #fff;
    border: none !important;
    border-left: none !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 27, 105, 0.25);
    min-height: 120px;
}

#spiraclethemes-site-library-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

/* Subtle animated shimmer */
#spiraclethemes-site-library-notice::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.02) 45%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(255, 255, 255, 0.02) 55%,
        transparent 60%
    );
    animation: ssl-shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ssl-shimmer {
    0%, 100% { transform: translateX(-30%) translateY(-30%); }
    50% { transform: translateX(30%) translateY(30%); }
}

#spiraclethemes-site-library-notice .notice-dismiss {
    top: 12px;
    right: 12px;
    z-index: 5;
}

#spiraclethemes-site-library-notice .notice-dismiss:before {
    color: rgba(255, 255, 255, 0.5);
}

#spiraclethemes-site-library-notice .notice-dismiss:hover:before {
    color: #fff;
}

.ssl-welcome-inner {
    display: flex;
    align-items: center;
    padding: 32px 36px;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.ssl-welcome-icon {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: ssl-float 3.5s ease-in-out infinite;
}

.ssl-welcome-icon img {
    width: 52px;
    height: 52px;
    filter: drop-shadow(0 0 16px rgba(0, 212, 255, 0.5));
}

@keyframes ssl-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.ssl-welcome-text {
    flex: 1;
    min-width: 0;
}

.ssl-welcome-text h3 {
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ssl-welcome-text p {
    margin: 0 0 18px 0;
    padding: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
}

.ssl-welcome-text .ssl-welcome-cta {
    display: inline-block;
    padding: 11px 28px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.01em;
}

.ssl-welcome-text .ssl-welcome-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.45);
    background: linear-gradient(135deg, #00e5ff 0%, #8b5cf6 100%);
    color: #fff !important;
}

.ssl-welcome-text .ssl-welcome-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

/* Hide on OCDI page */
.appearance_page_one-click-demo-import #spiraclethemes-site-library-notice {
    display: none !important;
}

/* Responsive */
@media only screen and (max-width: 782px) {
    .ssl-welcome-inner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }

    .ssl-welcome-icon {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .ssl-welcome-icon img {
        width: 42px;
        height: 42px;
    }

    .ssl-welcome-text p {
        max-width: 100%;
    }

    .ssl-welcome-text .ssl-welcome-cta {
        display: block;
        text-align: center;
    }
}

/* Rating Notice */
.rating-div.updated {
    padding: 70px 250px;
    background-color: #f0f6fc;
    color: #555;
    border: none;
    border-left: 5px solid #3582c4;
    margin-top: 20px;
    margin-bottom: 20px;
}

.rating-div.updated a {
    color: #555;
}

/* Rating Notice */
.ssl-rating-notice {
    position: relative;
    padding: 0 !important;
    border: none !important;
    border-left: none !important;
    background: linear-gradient(135deg, #6d28d9 0%, #4338ca 50%, #1e40af 100%) !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(67, 56, 202, 0.3);
    color: #fff !important;
}

.ssl-rating-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 85% 25%, rgba(251, 191, 36, 0.14) 0%, transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(236, 72, 153, 0.10) 0%, transparent 45%);
    pointer-events: none;
}

.ssl-rating-inner {
    display: flex;
    align-items: center;
    padding: 20px 26px;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.ssl-rating-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 14px;
    color: #78350f;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.35);
}

.ssl-rating-content {
    flex: 1;
    min-width: 0;
}

.ssl-rating-headline {
    margin: 0 0 5px 0 !important;
    padding: 0;
    font-size: 13px !important;
    font-weight: 600;
    color: #fff !important;
    line-height: 1.5;
}

.ssl-rating-headline a {
    color: #fde68a !important;
    font-weight: 700;
    text-decoration: none;
}

.ssl-rating-headline a:hover {
    text-decoration: underline;
}

.ssl-rating-stars {
    display: flex;
    gap: 2px;
    line-height: 1;
}

.ssl-star {
    color: #fbbf24;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.ssl-rating-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.ssl-rating-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f !important;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
}

.ssl-rating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
    color: #78350f !important;
}

.ssl-rating-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.ssl-rating-dismiss {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.ssl-rating-dismiss:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive - Rating Notice */
@media only screen and (max-width: 782px) {
    .ssl-rating-inner {
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
        gap: 16px;
    }

    .ssl-rating-stars {
        justify-content: center;
    }

    .ssl-rating-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding-top: 16px;
    }

    .ssl-rating-cta {
        justify-content: center;
        width: 100%;
    }
}

/* Pro Upgrade Notice — minimal light */
.ssl-pro-upgrade-notice {
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #d4af37 !important;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #1e293b !important;
}

.ssl-upgrade-inner {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 18px;
}

.ssl-upgrade-badge {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef9ec;
    border: 1px solid #f0dfb2;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #a16207;
}

.ssl-upgrade-content {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.ssl-upgrade-text {
    flex: 1;
    min-width: 0;
}

.ssl-upgrade-kicker {
    display: block;
    margin: 0 0 3px 0;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a16207 !important;
}

.ssl-pro-upgrade-notice h3,
.ssl-upgrade-text h3 {
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b !important;
    line-height: 1.35;
}

.ssl-upgrade-product {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #64748b;
    vertical-align: middle;
}

.ssl-pro-upgrade-notice p,
.ssl-upgrade-text p {
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #64748b !important;
    line-height: 1.6;
    max-width: 800px;
}

.ssl-upgrade-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.ssl-upgrade-cta {
    display: inline-block;
    padding: 9px 18px;
    background: #0f172a;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.ssl-upgrade-cta:hover {
    background: #1e293b;
    color: #fff !important;
}

.ssl-upgrade-cta:active {
    background: #0f172a;
}

.ssl-remind-later {
    font-size: 12px;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ssl-remind-later:hover {
    color: #64748b !important;
}

/* Responsive - Upgrade Notice */
@media only screen and (max-width: 782px) {
    .ssl-upgrade-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
    }

    .ssl-upgrade-content {
        flex-direction: column;
        gap: 14px;
    }

    .ssl-upgrade-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .ssl-upgrade-text p {
        max-width: 100%;
    }
}

/* Theme Required Notice — minimal light */
.ssl-theme-required-notice {
    padding: 0 !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 4px solid #d4af37 !important;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #1e293b !important;
    margin: 10px 0;
}

.ssl-upgrade-badge-icon {
    color: #a16207;
}

.ssl-theme-required-notice .ssl-upgrade-actions {
    align-items: flex-end;
}
