/* ==========================================================================
   Porikkhadaw AI - Interactive Onboarding Tour Styles
   Clean, modern spotlight walkthrough for website users
   ========================================================================== */

.pkw-tour-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10600;
    pointer-events: none;
    transition: all 0.3s ease;
}

.pkw-tour-highlight-box {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(3, 7, 18, 0.72), 0 0 25px rgba(99, 102, 241, 0.6);
    border: 2px solid #6366f1;
    pointer-events: auto;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10601;
    animation: pkwTourGlow 2s infinite alternate ease-in-out;
}

@keyframes pkwTourGlow {
    0% { border-color: #6366f1; box-shadow: 0 0 0 9999px rgba(3, 7, 18, 0.72), 0 0 15px rgba(99, 102, 241, 0.4); }
    100% { border-color: #8b5cf6; box-shadow: 0 0 0 9999px rgba(3, 7, 18, 0.72), 0 0 28px rgba(139, 92, 246, 0.75); }
}

/* Floating Tour Tooltip Card */
.pkw-tour-card {
    position: fixed;
    z-index: 10605;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 20px;
    font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.pkw-tour-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pkw-tour-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: #eef2ff;
    color: #6366f1;
    border: 1px solid #c7d2fe;
}

.pkw-tour-close-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.2s;
}

.pkw-tour-close-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.pkw-tour-title {
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pkw-tour-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 16px 0;
}

.pkw-tour-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.pkw-tour-dots {
    display: flex;
    gap: 5px;
}

.pkw-tour-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.25s;
}

.pkw-tour-dot.active {
    width: 18px;
    border-radius: 4px;
    background: #6366f1;
}

.pkw-tour-actions {
    display: flex;
    gap: 8px;
}

.pkw-tour-btn-next {
    padding: 7px 16px;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: #6366f1;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
}

.pkw-tour-btn-next:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.pkw-tour-btn-skip {
    padding: 7px 12px;
    font-size: 0.84rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.pkw-tour-btn-skip:hover {
    color: #0f172a;
}

/* Modal Welcome Dialog */
.pkw-tour-modal-wrap {
    position: fixed;
    inset: 0;
    z-index: 10700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(4px);
    padding: 16px;
}

.pkw-tour-modal {
    width: 380px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    font-family: 'Hind Siliguri', sans-serif;
    animation: pkwModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pkwModalPop {
    0% { opacity: 0; transform: scale(0.92) translateY(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

.pkw-tour-modal-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.pkw-tour-modal-title {
    font-size: 1.32rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.pkw-tour-modal-subtitle {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 22px;
}

.pkw-tour-modal-btn-start {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #6366f1;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pkw-tour-modal-btn-start:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.pkw-tour-modal-btn-dismiss {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    font-size: 0.9rem;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
}

.pkw-tour-modal-btn-dismiss:hover {
    color: #0f172a;
}
