/* =====================================================
   Payment Tour (Ödeme Modalı Rehberi)
   Deneme lisansı kullanıcıları için onboarding
   ===================================================== */

.ptour-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}

.ptour-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ptour-spotlight {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.72);
    transition: top .35s cubic-bezier(.4,0,.2,1),
                left .35s cubic-bezier(.4,0,.2,1),
                width .35s cubic-bezier(.4,0,.2,1),
                height .35s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    outline: 3px solid rgba(255, 255, 255, 0.95);
    outline-offset: 2px;
}

.ptour-tooltip {
    position: fixed;
    z-index: 20001;
    background: #ffffff;
    color: #1f2937;
    border-radius: 14px;
    padding: 18px 18px 14px;
    width: 360px;
    max-width: calc(100vw - 24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 8px 16px rgba(0, 0, 0, 0.18);
    display: none;
    font-family: inherit;
    line-height: 1.5;
    animation: ptourFadeIn .25s ease;
}

@keyframes ptourFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ptour-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}

.ptour-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.ptour-step-indicator {
    display: inline-block;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ptour-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.ptour-body {
    font-size: 14px;
    color: #374151;
    margin-bottom: 14px;
}

.ptour-body b {
    color: #111827;
    font-weight: 700;
}

.ptour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ptour-nav {
    display: flex;
    gap: 6px;
}

.ptour-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1;
}

.ptour-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.ptour-btn-skip {
    color: #6b7280;
    background: transparent;
    border-color: transparent;
}

.ptour-btn-skip:hover {
    background: #f3f4f6;
    color: #111827;
}

.ptour-btn-prev {
    background: #f3f4f6;
    border-color: #e5e7eb;
}

.ptour-btn-prev:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.ptour-btn-next {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 10px rgba(249, 115, 22, .3);
}

.ptour-btn-next:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

/* Arrow */
.ptour-arrow {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

.ptour-arrow-top {
    top: -9px;
    left: 50%;
    margin-left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ffffff;
}

.ptour-arrow-bottom {
    bottom: -9px;
    left: 50%;
    margin-left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 9px solid #ffffff;
}

.ptour-arrow-left {
    left: -9px;
    top: 50%;
    margin-top: -9px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 9px solid #ffffff;
}

.ptour-arrow-right {
    right: -9px;
    top: 50%;
    margin-top: -9px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 9px solid #ffffff;
}

.ptour-arrow-none {
    display: none;
}

/* =====================================================
   "Nasıl Kullanılır?" tetikleyici buton
   Modal başlığında Servis/İndirim butonunun solunda yer alır.
   ===================================================== */
.header-tour-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #ea580c;
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    line-height: 1;
    white-space: nowrap;
    position: relative;
}

.header-tour-btn i {
    font-size: 15px;
    color: #f97316;
}

.header-tour-btn:hover {
    background: #fff7ed;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.header-tour-btn:active {
    transform: translateY(0);
}

/* Pulse animation - dikkat çek */
.header-tour-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, .9);
    opacity: 0;
    animation: ptourPulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ptourPulse {
    0%   { transform: scale(1);   opacity: .9; }
    70%  { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

@media (max-width: 575.98px) {
    .header-tour-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
    .header-tour-btn .header-tour-btn-text {
        display: none;
    }
    .ptour-tooltip {
        width: 320px;
    }
}
