/* =============================================================================
   Onboarding Tour — Styles
   File: src/css/features/onboarding-tour/style.css
   Enqueued by: class-onboarding-tour.php
   ============================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;600&display=swap");

/* Backdrop overlay */
#aot-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,42,84,0.28);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    z-index: 99990;
    pointer-events: none;
    transition: opacity .3s;
}

/* Highlight ring around the targeted element */
#aot-highlight-ring {
    display: none;
    position: fixed;
    border-radius: 11px;
    z-index: 99995;
    pointer-events: none;
    transition:
        top    .38s cubic-bezier(.4,0,.2,1),
        left   .38s cubic-bezier(.4,0,.2,1),
        width  .38s cubic-bezier(.4,0,.2,1),
        height .38s cubic-bezier(.4,0,.2,1);
}

/* Highlighted element — exclude nav toggle from position:relative */
.aot-highlighted:not(button#nav-toggle-btn) {
    position: relative !important;
}

.aot-highlighted {
    z-index: 99996 !important;
    background-color: #fff !important;
    padding: 8px;
    border-radius: 8px;
}

.aot-scroll-locked .va-calculator-content .card.active {
    z-index: auto !important;
}

/* Tooltip card */
#aot-tooltip {
    display: none;
    position: fixed;
    z-index: 99999;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    /* padding: 20px 18px 16px; */
    width: 90%;
    max-width: 430px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    transition:
        top     .35s cubic-bezier(.4,0,.2,1),
        left    .35s cubic-bezier(.4,0,.2,1),
        opacity .22s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.aot-t-btn:disabled span{
    display: none;
}
button#aot-btn-prev:not(:disabled) svg *, button#aot-btn-next:not(:disabled) svg *{
    stroke :#fff !important;
}
button#aot-btn-next:not(:disabled),
button#aot-btn-prev:not(:disabled) {
    width: auto;
    border-radius: 20px;
    padding: 10px !important;
    font-size: 15px;
    background: #9D1B1E;
    color: #fff;
}
/* Arrow pointer */
#aot-tooltip::after {
    content: "";
    position: absolute;
    left: var(--aot-arrow-left, 22px);
    width: 0;
    height: 0;
    border-style: solid;
    pointer-events: none;
}

#aot-tooltip.aot-arrow-top::after {
    top: -8px;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent #fff transparent;
}

#aot-tooltip.aot-arrow-bottom::after {
    bottom: -8px;
    border-width: 8px 8px 0 8px;
    border-color: #fff transparent transparent transparent;
}

/* Icon box */
.aot-t-icon {
    width: 34px;
    height: 34px;
    background: #18244D;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 10px;
    flex-shrink: 0;
    margin-left: 15px;
    margin-top: 15px;
}

/* Title */
.aot-t-title {
    font-family: Jost, sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1;
    color: #9D1A1F;
    /* margin: 8px 0 10px; */
    margin: 10px 15px 10px;
}

/* Body copy */
.aot-t-desc {
    font-family: Jost, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #4A5568;
    /* margin-bottom: 14px; */
    margin: 16px 18px 16px;
}

/* Skip button */
.aot-skip-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #99A1AF;
    background: none;
    border: none;
    cursor: pointer;
    font-family: Jost, sans-serif;
    font-size: 12px;
    transition: color .15s;
    padding: 0;
    line-height: 1;
}

.aot-skip-btn:hover {
    color: #374151;
    background: unset !important;
}

/* Footer row */
.aot-t-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0px 18px 0px;
}

/* Progress dots */
.aot-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.aot-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E5E7EB;
    transition: all .22s;
}

.aot-dot.aot-active {
    background: #9B1C1C;
    width: 18px;
    border-radius: 4px;
}

.aot-dot.aot-done {
    background: #D1D5DB;
}

/* Nav buttons */
.aot-t-btns {
    display: flex;
    gap: 6px;
}

.aot-t-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #9D1B1E;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9D1B1E;
    transition: all .15s;
    line-height: 0;
    padding: 0 !important;
}

.aot-t-btn:hover,
.aot-t-btn:active,
.aot-t-btn:focus {
    background: #FEF2F2;
}

.aot-t-btn:disabled {
    opacity: .3;
    cursor: default;
    pointer-events: none;
}

#aot-btn-prev svg { margin-left: -3px; }
#aot-btn-next svg { margin-right: -3px; }

/* Footer hint */
.aot-footer-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    /* margin-top: 10px; */
    margin: 5px 18px 10px;
}

.aot-page-hint {
    font-size: 11px;
    color: #9CA3AF;
}

/* Completion banner */
#aot-done-banner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 28px 32px;
    text-align: center;
    z-index: 100000;
    box-shadow: 0 8px 40px rgba(0,0,0,0.16);
    max-width: 450px;
    width: 90%;
    font-family: Jost, sans-serif;
}

#aot-done-banner .aot-done-icon {
    width: 52px;
    height: 52px;
    background: #FEE2E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 14px;
}

#aot-done-banner h2 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

#aot-done-banner p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 16px;
}

#aot-done-banner .aot-done-close-btn {
    padding: 10px 28px;
    border-radius: 7px;
    border: none;
    background: #9B1C1C;
    color: #fff;
    font-size: 15px;
    font-family: Jost, sans-serif;
    cursor: pointer;
    transition: background .15s;
}

#aot-done-banner .aot-done-close-btn:hover {
    background: #7F1D1D;
}

.aot-scroll-locked .asl_row_4,.aot-scroll-locked  .kt-row-column-wrap,.aot-scroll-locked .wp-block-kadence-column {
    z-index: auto !important;
}

.aot-scroll-locked .wp-block-kadence-modal{display:none !important;height:0 !important;}

/* .aot-media:not(:empty) {
    margin-top: 18px;
} */