/* ==========================================================================
   TOKTAŞ İŞ MAKİNELERİ KURSU - AMBER-GOLD & ENDÜSTRİYEL SLATE AI DANIŞMANI
   ========================================================================== */

/* 1. SOL ALT KURUMSAL WHATSAPP & HIZLI ARAMA DOCK */
.ismak-left-contact-dock {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 2147482000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.ismak-wa-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #064E3B 0%, #15803D 55%, #16A34A 100%);
    color: #FFFFFF !important;
    text-decoration: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 12px 26px -6px rgba(21, 128, 61, 0.52);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ismak-wa-pill:hover {
    transform: translateY(-3px);
    color: #FFFFFF !important;
    box-shadow: 0 16px 32px -6px rgba(22, 163, 74, 0.65);
}
.ismak-wa-ic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.ismak-wa-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.16;
}
.ismak-wa-sub {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #DCFCE7;
}
.ismak-wa-main {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
}
.ismak-call-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #0F172A !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    text-decoration: none !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 22px -5px rgba(245, 158, 11, 0.52);
    transition: transform 0.25s ease;
}
.ismak-call-circle:hover {
    transform: translateY(-3px) scale(1.04);
    color: #0F172A !important;
}
@media (max-width: 640px) {
    .ismak-left-contact-dock { left: 12px; bottom: 16px; gap: 8px; }
    .ismak-wa-pill { padding: 8px; width: 48px; height: 48px; justify-content: center; }
    .ismak-wa-txt { display: none; }
    .ismak-wa-ic { background: transparent; font-size: 24px; }
    .ismak-call-circle { width: 46px; height: 46px; font-size: 18px; }
}

#toktas-ai-root {
    position: fixed;
    right: 22px;
    bottom: 20px;
    z-index: 2147483000;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.45;
    color: #0F172A;
}
#toktas-ai-root *,
#toktas-ai-root *::before,
#toktas-ai-root *::after {
    box-sizing: border-box;
}

/* KAPALI DURUM: ÖZGÜN LÜKS CONCIERGE KARTI + PORTRE DOCK */
.tai-concierge-trigger {
    position: relative;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    user-select: none;
    animation: tai-dock-enter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tai-concierge-card {
    position: relative;
    background: linear-gradient(145deg, #0B1120 0%, #162033 56%, #2C200B 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.6);
    border-radius: 22px;
    padding: 14px 126px 14px 17px;
    min-width: 298px;
    color: #FFFFFF;
    box-shadow: 0 22px 48px -10px rgba(15, 23, 42, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.07) inset;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.tai-concierge-trigger:hover .tai-concierge-card {
    transform: translateY(-4px);
    border-color: #F59E0B;
    box-shadow: 0 24px 50px -10px rgba(245, 158, 11, 0.42), 0 10px 24px rgba(15, 23, 42, 0.45);
}
.tai-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.38);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #86EFAC;
    margin-bottom: 5px;
}
.tai-live-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
    animation: tai-pulse-green 1.8s infinite;
}
.tai-dock-title {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.15px;
    margin-bottom: 2px;
}
.tai-dock-sub {
    font-size: 11.8px;
    color: #CBD5E1;
    font-weight: 500;
    line-height: 1.3;
    max-width: 175px;
    margin-bottom: 8px;
}
.tai-dock-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5.5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.42);
}
.tai-dock-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: tai-cta-sheen 5.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes tai-cta-sheen {
    0%, 72%, 100% { left: -120%; }
    88% { left: 160%; }
}
.tai-mini-wave {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 11px;
}
.tai-mini-wave i {
    display: block;
    width: 2.5px;
    height: 5px;
    border-radius: 2px;
    background: #FDE047;
    animation: tai-eq-bounce 1s infinite ease-in-out;
}
.tai-mini-wave i:nth-child(2) { animation-delay: 0.2s; }
.tai-mini-wave i:nth-child(3) { animation-delay: 0.4s; }

/* SAĞ TARAFTAN YÜKSELEN HAREKETLİ & ÖZGÜN KADIN AI DANIŞMAN SİLÜETİ */
.tai-dock-portrait-wrap {
    position: absolute;
    right: 3px;
    bottom: 0;
    width: 126px;
    pointer-events: none;
    z-index: 2;
}
.tai-greet-chip {
    position: absolute;
    top: -12px;
    right: 88px;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 999px 999px 4px 999px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(251, 191, 36, 0.62);
    color: #FEF3C7;
    font-size: 10.8px;
    font-weight: 700;
    letter-spacing: 0.1px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
    opacity: 0;
    transform: translateY(6px) scale(0.92);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    pointer-events: none;
}
.tai-greet-chip.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
@media (max-width: 640px) {
    .tai-greet-chip { display: none !important; }
}
.tai-dock-portrait-glow {
    position: absolute;
    right: 10px;
    bottom: 14px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.48) 0%, rgba(245, 158, 11, 0) 72%);
    pointer-events: none;
}
.tai-dock-ai-halo {
    position: absolute;
    right: 14px;
    bottom: 58px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 1.5px dashed rgba(251, 191, 36, 0.38);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.28);
    animation: tai-halo-spin 14s linear infinite;
    pointer-events: none;
}
.tai-dock-portrait {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    object-fit: contain;
    -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 86%, transparent 100%);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.48));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tai-concierge-trigger:hover .tai-dock-portrait {
    transform: translateY(-4px) scale(1.04);
}
@keyframes tai-halo-spin {
    0% { transform: rotate(0deg) scale(0.96); opacity: 0.65; }
    50% { transform: rotate(180deg) scale(1.04); opacity: 1; }
    100% { transform: rotate(360deg) scale(0.96); opacity: 0.65; }
}
@media (prefers-reduced-motion: reduce) {
    .tai-dock-ai-halo { animation: none; }
}
.tai-dock-minimize {
    position: absolute;
    top: -9px;
    right: -6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #0F172A;
    color: #CBD5E1;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.2s, color 0.2s;
}
.tai-dock-minimize:hover {
    background: #D97706;
    color: #FFFFFF;
}

/* KÜÇÜLTÜLMÜŞ KOMPAKT PILL MODU (Kullanıcı X'e basarsa veya mobilde) */
.tai-concierge-trigger.is-compact .tai-concierge-card {
    min-width: 0;
    padding: 9px 16px 9px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.tai-concierge-trigger.is-compact .tai-live-pill,
.tai-concierge-trigger.is-compact .tai-dock-sub,
.tai-concierge-trigger.is-compact .tai-dock-cta,
.tai-concierge-trigger.is-compact .tai-dock-portrait-wrap,
.tai-concierge-trigger.is-compact .tai-dock-minimize {
    display: none;
}
.tai-compact-av {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #F59E0B;
    flex-shrink: 0;
}
.tai-compact-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tai-concierge-trigger.is-compact .tai-compact-av {
    display: block;
}
.tai-concierge-trigger.is-compact .tai-dock-title {
    margin: 0;
    font-size: 13.8px;
}

/* 3. AÇIK DURUM: TOKTAŞ AI CONCIERGE PENCERESİ (#tai-window) */
.tai-window {
    position: fixed;
    right: 22px;
    bottom: 20px;
    width: 446px;
    height: 688px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 30px);
    background: #F4F6FA;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.16);
    box-shadow: 0 28px 70px -12px rgba(15, 23, 42, 0.48), 0 10px 28px rgba(15, 23, 42, 0.18);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2147483001;
    animation: tai-win-open 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tai-window.is-open {
    display: flex;
}

/* LÜKS KOKPİT BAŞLIK (.tai-hdr) */
.tai-hdr {
    position: relative;
    background: linear-gradient(135deg, #090E1A 0%, #172033 48%, #881337 85%, #BE123C 100%);
    color: #FFFFFF;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tai-hdr-left {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.tai-avatar-ring {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #FACC15 0%, #F59E0B 100%);
    flex-shrink: 0;
    transition: box-shadow 0.25s ease;
}
.tai-avatar-ring.is-speaking {
    box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.32), 0 0 18px rgba(245, 158, 11, 0.65);
}
.tai-avatar-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #090E1A;
}
.tai-hdr-titles {
    min-width: 0;
}
.tai-hdr-name {
    font-size: 15px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tai-hdr-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #E2E8F0;
    font-weight: 600;
}
.tai-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ADE80;
    flex-shrink: 0;
}
.tai-status-dot.listening {
    background: #F87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.35);
}
.tai-status-dot.speaking {
    background: #FACC15;
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}
.tai-hdr-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.tai-hdr-btn {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 10px;
    padding: 6px 9px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.18s ease;
}
.tai-hdr-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}
.tai-hdr-btn.is-muted {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(248, 113, 113, 0.65);
    color: #FCA5A5;
}

/* SOHBET AKIŞ GÖVDESİ */
.tai-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px;
    background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.tai-body > * {
    flex-shrink: 0;
}
.tai-msg-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 94%;
}
.tai-msg-row.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.tai-msg-av {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1.5px solid #FDE68A;
    margin-top: 2px;
    background: #0F172A;
}
.tai-msg-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tai-bubble {
    padding: 12px 15px;
    border-radius: 16px;
    font-size: 13.4px;
    line-height: 1.54;
    word-break: break-word;
}
.tai-msg-row.bot .tai-bubble {
    background: #FFFFFF;
    color: #1E293B;
    border: 1px solid #E2E8F0;
    border-top-left-radius: 5px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.tai-msg-row.user .tai-bubble {
    background: linear-gradient(135deg, #0F172A 0%, #92400E 100%);
    color: #FFFFFF;
    border-top-right-radius: 5px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}
.tai-bubble ul {
    margin: 6px 0 4px 0;
    padding-left: 18px;
}
.tai-bubble li { margin-bottom: 4px; }
.tai-bubble a {
    color: #D97706;
    font-weight: 700;
    text-decoration: underline;
}
.tai-msg-row.user .tai-bubble a { color: #FDE047; }

/* ÖZGÜN BENTO CONCIERGE MENÜ PANELİ (Belgeser'den %100 Farklı Lüks Kart Mimarisi) */
.tai-bento-panel {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 13px;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.07);
    flex-shrink: 0;
}
.tai-bento-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.tai-bento-title {
    font-size: 12.2px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.45px;
    color: #0F172A;
    display: flex;
    align-items: center;
    gap: 6px;
}
.tai-bento-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #B45309;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    padding: 2px 8px;
    border-radius: 999px;
}

/* 2 ANA SPOTLIGHT KART (SİHİRBAZ & HIZLI ÖN KAYIT) */
.tai-spot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 9px;
}
.tai-spot-card {
    border: 0;
    border-radius: 14px;
    padding: 11px 12px;
    text-align: left;
    color: #FFFFFF;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tai-spot-card:hover {
    transform: translateY(-2px);
}
.tai-spot-card.wizard-card {
    background: linear-gradient(135deg, #92400E 0%, #D97706 100%);
    box-shadow: 0 8px 18px -4px rgba(245, 158, 11, 0.42);
}
.tai-spot-card.lead-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    box-shadow: 0 8px 18px -4px rgba(15, 23, 42, 0.35);
}
.tai-spot-ic {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 2px;
}
.tai-spot-t {
    font-size: 12.8px;
    font-weight: 800;
    line-height: 1.2;
}
.tai-spot-s {
    font-size: 10.8px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.25;
}

/* 2 SÜTUNLU BENTO KATEGORİ KARTLARI */
.tai-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}
.tai-bento-tile {
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    cursor: pointer;
    transition: all 0.18s ease;
}
.tai-bento-tile:hover {
    background: #FFF1F2;
    border-color: #FDA4AF;
    transform: translateY(-1px);
}
.tai-bento-tile.full-span {
    grid-column: 1 / -1;
    justify-content: space-between;
}
.tai-tile-ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #D97706;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}
.tai-tile-txt {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.tai-tile-name {
    font-size: 12.2px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
}
.tai-tile-sub {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ZENGİN GÖRSEL BİLGİ KARTLARI / İNFOGRAFİKLER (.tai-infographic) */
.tai-infographic {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px -8px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}
.tai-info-hdr {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.tai-info-hdr-title {
    font-size: 13.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tai-info-tag {
    font-size: 10.5px;
    font-weight: 800;
    background: #D97706;
    color: #FFFFFF;
    padding: 3px 9px;
    border-radius: 999px;
}
.tai-info-body {
    padding: 14px;
}
.tai-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 11px;
}
.tai-stat-cell {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    padding: 8px 6px;
    text-align: center;
}
.tai-stat-val {
    font-size: 14px;
    font-weight: 900;
    color: #D97706;
    line-height: 1.15;
}
.tai-stat-lbl {
    font-size: 10.2px;
    font-weight: 700;
    color: #64748B;
    margin-top: 2px;
}
.tai-comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-bottom: 10px;
}
.tai-comp-table th {
    background: #F1F5F9;
    color: #0F172A;
    font-weight: 800;
    text-align: left;
    padding: 7px 9px;
    border-bottom: 1px solid #CBD5E1;
}
.tai-comp-table td {
    padding: 7px 9px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
    font-weight: 600;
}
.tai-step-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tai-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    padding: 9px 11px;
}
.tai-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #D97706;
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tai-code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}
.tai-code-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    padding: 6px 9px;
    font-size: 11.3px;
    font-weight: 700;
    color: #0F172A;
    text-decoration: none;
}
.tai-code-pill:hover {
    border-color: #D97706;
    background: #FFF1F2;
}
.tai-code-badge {
    font-size: 10px;
    font-weight: 800;
    background: #0F172A;
    color: #FDE047;
    padding: 2px 6px;
    border-radius: 6px;
}

/* HER YANITTAN SONRA ÇIKAN AKILLI MENÜYE DÖNÜŞ ÇUBUĞU (Yukarı Kaydırmayı Sıfırlar!) */
.tai-next-nav {
    background: #FFFFFF;
    border: 1px dashed #CBD5E1;
    border-radius: 14px;
    padding: 9px 11px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-shrink: 0;
}
.tai-next-label {
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 2px;
}
.tai-next-btn {
    flex: 1 1 auto;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #0F172A;
    border-radius: 9px;
    padding: 7px 10px;
    font-size: 11.6px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.18s ease;
}
.tai-next-btn:hover {
    border-color: #D97706;
    background: #FFFBEB;
    color: #B45309;
}
.tai-next-btn.menu-primary {
    background: #0F172A;
    border-color: #0F172A;
    color: #FFFFFF;
}
.tai-next-btn.menu-primary:hover {
    background: #D97706;
    border-color: #D97706;
    color: #FFFFFF;
}
.tai-next-btn.cta-red {
    background: #FFFBEB;
    border-color: #FDE68A;
    color: #B45309;
}

/* SİHİRBAZ & ÖN KAYIT FORMU KARTLARI */
.tai-card {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px -8px rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}
.tai-card-body {
    padding: 14px;
}
.tai-wiz-progress {
    height: 5px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}
.tai-wiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #D97706 0%, #F59E0B 100%);
    transition: width 0.25s ease;
}
.tai-wiz-btn {
    width: 100%;
    text-align: left;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 10px 13px;
    margin-bottom: 7px;
    font-size: 12.6px;
    font-weight: 700;
    color: #0F172A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.16s ease;
}
.tai-wiz-btn:hover {
    border-color: #D97706;
    background: #FFF1F2;
    color: #B45309;
    transform: translateX(2px);
}
.tai-input-group {
    position: relative;
    margin-bottom: 9px;
}
.tai-input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 13px;
    pointer-events: none;
}
.tai-form-input,
.tai-form-select {
    width: 100%;
    border: 1.5px solid #E2E8F0;
    border-radius: 11px;
    padding: 9px 12px 9px 34px;
    font-size: 12.8px;
    font-weight: 600;
    color: #0F172A;
    background: #F8FAFC;
    outline: none;
    transition: border-color 0.18s, background 0.18s;
}
.tai-form-input:focus,
.tai-form-select:focus {
    border-color: #D97706;
    background: #FFFFFF;
}
.tai-submit-btn {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 11px 14px;
    background: linear-gradient(135deg, #D97706 0%, #92400E 100%);
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.28);
    transition: transform 0.16s ease;
}
.tai-submit-btn:hover {
    transform: translateY(-1px);
}

/* CANLI SES BARI (#tai-vbar) */
.tai-vbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 15px;
    background: linear-gradient(90deg, #0F172A 0%, #450A0A 100%);
    color: #FFFFFF;
    flex-shrink: 0;
}
.tai-vbar.is-active {
    display: flex;
}
.tai-vbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #F8FAFC;
}
.tai-eq {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}
.tai-eq span {
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: #FACC15;
    animation: tai-eq-bounce 0.8s infinite ease-in-out;
}
.tai-eq span:nth-child(2) { animation-delay: 0.15s; }
.tai-eq span:nth-child(3) { animation-delay: 0.3s; }
.tai-eq span:nth-child(4) { animation-delay: 0.45s; }
.tai-vstop-btn {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

/* ALT GİRİŞ BAR & GÜVEN ŞERİDİ */
.tai-foot {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    padding: 10px 13px 9px;
    flex-shrink: 0;
}
.tai-input-row {
    display: flex;
    align-items: flex-end;
    gap: 7px;
}
.tai-textarea {
    flex: 1 1 auto;
    border: 1.5px solid #CBD5E1;
    border-radius: 13px;
    padding: 9px 13px;
    font-size: 13.5px;
    line-height: 1.38;
    max-height: 90px;
    min-height: 42px;
    resize: none;
    outline: none;
    background: #F8FAFC;
    color: #0F172A;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}
.tai-textarea:focus {
    border-color: #D97706;
    background: #FFFFFF;
}
.tai-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    border: 1.5px solid #CBD5E1;
    background: #F8FAFC;
    color: #0F172A;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.18s ease;
}
.tai-icon-btn:hover {
    border-color: #D97706;
    color: #D97706;
    background: #FFFBEB;
}
.tai-icon-btn.mic-active {
    background: #D97706;
    border-color: #D97706;
    color: #FFFFFF;
    animation: tai-pulse-red 1.3s infinite;
}
.tai-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    border: 0;
    background: linear-gradient(135deg, #0F172A 0%, #D97706 100%);
    color: #FFFFFF;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
}
.tai-foot-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    padding-top: 6px;
    border-top: 1px solid #F1F5F9;
    font-size: 11px;
    color: #64748B;
}
.tai-foot-meta a {
    color: #0F172A;
    font-weight: 700;
    text-decoration: none;
}
.tai-foot-meta a:hover { color: #D97706; }

.tai-sys-pill {
    align-self: center;
    font-size: 11.4px;
    font-weight: 600;
    color: #475569;
    background: #E2E8F0;
    border-radius: 999px;
    padding: 5px 13px;
    text-align: center;
}
.tai-typing {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 2px;
}
.tai-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D97706;
    animation: tai-dot-jump 1.2s infinite ease-in-out;
}
.tai-typing span:nth-child(2) { animation-delay: 0.2s; }
.tai-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes tai-dock-enter {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes tai-win-open {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes tai-pulse-green {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
@keyframes tai-pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    50% { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0); }
}
@keyframes tai-eq-bounce {
    0%, 100% { height: 4px; }
    50% { height: 15px; }
}
@keyframes tai-dot-jump {
    0%, 80%, 100% { transform: scale(0.75); opacity: 0.4; }
    40% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 640px) {
    #toktas-ai-root {
        right: 12px;
        bottom: 16px;
    }
    .tai-concierge-card {
        min-width: 235px;
        padding: 11px 92px 11px 13px;
        border-radius: 18px;
    }
    .tai-dock-portrait-wrap {
        width: 88px;
        right: 4px;
    }
    .tai-dock-title { font-size: 13.8px; }
    .tai-dock-sub { font-size: 11px; max-width: 140px; margin-bottom: 6px; }
    .tai-window {
        inset: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100%;
        max-width: 100vw;
        max-height: 100%;
        border-radius: 0;
    }
    .tai-hdr-btn span { display: none; }
}

/* TELEFON NUMARASI ONAY & ARANMAYI BEKLEYENLER KARTI */
.tai-confirm-card {
    flex-shrink: 0;
    width: 100%;
    background: #FFFFFF;
    border: 2px solid #16A34A;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.28);
    margin: 8px 0;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tai-confirm-card.is-highlight-pulse {
    border-color: #F59E0B;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.28), 0 16px 34px -8px rgba(22, 163, 74, 0.42);
    animation: tai-card-attention 0.65s ease-in-out 2;
}
@keyframes tai-card-attention {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.022); }
}
.tai-confirm-hdr {
    background: linear-gradient(135deg, #064E3B 0%, #15803D 100%);
    color: #FFFFFF;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.8px;
    font-weight: 800;
}
.tai-confirm-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #FEF08A;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.tai-confirm-body {
    padding: 13px 14px;
}
.tai-confirm-phone-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F0FDF4;
    border: 1.5px solid #86EFAC;
    border-radius: 12px;
    padding: 9px 12px;
    margin-bottom: 9px;
}
.tai-confirm-phone-wrap i {
    color: #16A34A;
    font-size: 16px;
}
.tai-confirm-phone-input {
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 900;
    color: #064E3B;
    letter-spacing: 0.6px;
    width: 100%;
    outline: none;
}
.tai-confirm-phone-input.is-editing {
    background: #FFFFFF;
    border: 1.5px solid #16A34A;
    border-radius: 8px;
    padding: 4px 8px;
}
.tai-confirm-name-input {
    width: 100%;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 12.4px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 9px;
    outline: none;
}
.tai-confirm-name-input:focus {
    border-color: #16A34A;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14);
}
.tai-confirm-btns {
    display: flex;
    gap: 8px;
}
.tai-confirm-ok-btn {
    flex: 1;
    border: 0;
    border-radius: 11px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 14px -4px rgba(22, 163, 74, 0.45);
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.tai-confirm-ok-btn:hover {
    transform: translateY(-1px);
}
.tai-confirm-edit-btn {
    border: 1px solid #CBD5E1;
    border-radius: 11px;
    padding: 10px 12px;
    background: #F8FAFC;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.tai-confirm-edit-btn:hover {
    background: #E2E8F0;
}
.tai-sales-call-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1.5px solid #16A34A;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    color: #15803D;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tai-sales-call-chip:hover {
    background: #16A34A;
    color: #FFFFFF;
}

.tai-dock-cta {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #0F172A !important;
    font-weight: 800 !important;
}
.tai-mini-wave i {
    background: #0F172A !important;
}
