/* Acuatikos App Enhancements - Modular Styles (T0.1, T2.1, T2.2, T2.4, T3.1, T3.2, T3.3) */

/* --- Ajustes Drawer --- */
.ak-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.ak-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ak-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 61;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ak-drawer-panel.is-open {
    transform: translateX(0);
}

/* --- Nuevo Badge --- */
.ak-badge-nuevo {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background-color: #0284c7;
    color: #ffffff;
}

.ak-nav-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 9999px;
    background-color: #38bdf8;
    border: 2px solid #0f172a;
}

/* --- FAQ Accordion --- */
.ak-faq-answer {
    display: none;
}

.ak-faq-item.is-open .ak-faq-answer {
    display: block;
}

.ak-faq-item.is-open .ak-faq-chevron {
    transform: rotate(180deg);
}

.ak-faq-chevron {
    transition: transform 0.2s ease;
}

/* --- Walkthrough Spotlight (T2.1) --- */
.ak-tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: auto;
}

.ak-tour-spotlight {
    position: fixed;
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.72), 0 0 0 3px #38bdf8;
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
    pointer-events: none;
    z-index: 71;
}

.ak-tour-tooltip {
    position: fixed;
    z-index: 72;
    width: calc(100vw - 24px);
    max-width: 340px;
    background: #ffffff;
    color: #1e293b;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    border: 1px solid #e2e8f0;
    transition: top 0.25s ease, left 0.25s ease;
}

/* --- Star Rating (T3.3) --- */
.ak-star-btn {
    color: #cbd5e1;
    transition: color 0.15s ease, transform 0.12s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 2px;
}

.ak-star-btn.is-active,
.ak-star-btn:hover {
    color: #f59e0b;
    transform: scale(1.1);
}

/* --- Post-payment Rate Banner/Modal (T2.2) --- */
.ak-rate-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 65;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}

@media (min-width: 640px) {
    .ak-rate-modal-backdrop {
        align-items: center;
    }
}

.ak-rate-modal-backdrop.hidden {
    display: none;
}
