/* =====================================================================
   Prof Baykuş – Ödeme Akışı Adım Katmanı
   Sadece Views/Home/Index.cshtml (Mobile == 0) üzerinden yüklenir.
   payment-theme.css degiskenlerini kullanir; mevcut modul class/id'lerine
   dokunmaz, yalnizca onlari saran adim kabugunu bicimlendirir.
   ===================================================================== */

.pb-steps {
    --pb-step-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Adim basligi ve ilerleme ---------- */
.pb-steps__head {
    margin-bottom: 18px;
}

.pb-steps__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.pb-steps__percent {
    font-size: 12px;
    font-weight: 600;
    color: var(--pb-slate, #5c7089);
    white-space: nowrap;
}

.pb-steps__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pb-teal-dark, #0a7d86);
    margin-bottom: 6px;
}

.pb-steps__title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--pb-ink, #10233d);
    margin: 0 0 4px;
}

.pb-steps__subtitle {
    font-size: 14px;
    color: var(--pb-slate, #5c7089);
    margin: 0;
}

.pb-steps__title,
.pb-steps__subtitle,
.pb-steps__eyebrow {
    transition: opacity .18s ease;
}

.pb-steps.is-animating .pb-steps__title,
.pb-steps.is-animating .pb-steps__subtitle,
.pb-steps.is-animating .pb-steps__eyebrow {
    opacity: 0;
}

/* ---------- Ilerleme cubugu ---------- */
.pb-steps__bar {
    position: relative;
    height: 4px;
    border-radius: 4px;
    background: var(--pb-line, #e4ebf2);
    overflow: hidden;
    margin: 16px 0 14px;
}

.pb-steps__bar-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--pb-blue, #0b63ce), var(--pb-teal, #0fb5c0));
    transition: width .45s var(--pb-step-ease);
}

/* ---------- Adim noktalari ---------- */
.pb-steps__dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pb-steps__dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border: 0;
    background: transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pb-slate, #5c7089);
    cursor: default;
    transition: background .2s ease, color .2s ease;
}

.pb-steps__dot-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--pb-line, #e4ebf2);
    color: var(--pb-slate, #5c7089);
    font-size: 12px;
    font-weight: 600;
    transition: background .25s ease, color .25s ease, transform .25s var(--pb-step-ease);
}

.pb-steps__dot.is-done {
    cursor: pointer;
    color: var(--pb-ink, #10233d);
}

.pb-steps__dot.is-done:hover {
    background: rgba(11, 99, 206, .07);
}

.pb-steps__dot.is-done .pb-steps__dot-num {
    background: var(--pb-green, #22c55e);
    color: #fff;
}

.pb-steps__dot.is-active {
    color: var(--pb-ink, #10233d);
    font-weight: 600;
}

.pb-steps__dot.is-active .pb-steps__dot-num {
    background: var(--pb-blue, #0b63ce);
    color: #fff;
    transform: scale(1.08);
}

/* ---------- Panel alani ---------- */
.pb-steps__viewport {
    position: relative;
    overflow: hidden;
    transition: height .35s var(--pb-step-ease);
}

.pb-steps__viewport.is-measuring {
    transition: none;
}

.pb-step {
    display: none;
}

.pb-step.is-active {
    display: block;
}

@keyframes pbStepInFwd {
    from { opacity: 0; transform: translate3d(34px, 0, 0); }
    to   { opacity: 1; transform: none; }
}

@keyframes pbStepInBack {
    from { opacity: 0; transform: translate3d(-34px, 0, 0); }
    to   { opacity: 1; transform: none; }
}

@keyframes pbStepOutFwd {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translate3d(-28px, 0, 0); }
}

@keyframes pbStepOutBack {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translate3d(28px, 0, 0); }
}

.pb-step.is-in-fwd  { animation: pbStepInFwd .34s var(--pb-step-ease) both; }
.pb-step.is-in-back { animation: pbStepInBack .34s var(--pb-step-ease) both; }

.pb-step.is-out-fwd,
.pb-step.is-out-back {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}

.pb-step.is-out-fwd  { animation: pbStepOutFwd .2s ease both; }
.pb-step.is-out-back { animation: pbStepOutBack .2s ease both; }

/* ---------- Gezinme ---------- */
.pb-steps__nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.pb-steps__nav .pb-steps__back {
    background: #fff;
    border: 1px solid var(--pb-line, #e4ebf2);
    color: var(--pb-slate, #5c7089);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.pb-steps__nav .pb-steps__back:hover {
    border-color: var(--pb-blue, #0b63ce);
    color: var(--pb-blue, #0b63ce);
}

.pb-steps__nav .pb-steps__next {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(120deg, var(--pb-blue, #0b63ce), var(--pb-teal-dark, #0a7d86));
    box-shadow: var(--pb-shadow-sm, 0 8px 18px -12px rgba(10, 37, 64, .22));
    transition: transform .18s var(--pb-step-ease), box-shadow .18s ease, filter .18s ease;
}

.pb-steps__nav .pb-steps__next:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.pb-steps__nav .pb-steps__next:active {
    transform: translateY(0);
}

.pb-steps__nav [hidden] {
    display: none !important;
}

/* ---------- Son adima tasinan onay blogu ---------- */
/* Onay blogu son adima tasindiginda arkasinda kart zemini kalmiyordu;
   hareketli arka planin uzerinde okunmuyordu. Kendi yuzeyini aliyor. */
.pb-steps__confirm {
    margin-top: 14px;
    padding: 20px 22px 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--pb-line, #e4ebf2);
    box-shadow: var(--pb-shadow, 0 16px 36px -22px rgba(10, 37, 64, .28));
}

.pb-steps__confirm .pb-agreements {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Sozlesme satirlari: 12px slate cok soluk kaliyordu. */
.pb-steps__confirm .pb-agreements__item label {
    font-size: 13px;
    line-height: 1.5;
    color: var(--pb-ink, #10233d);
}

.pb-steps__confirm .pb-agreements__item a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pb-steps__confirm .pb-buy-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--pb-line, #e4ebf2);
}

.pb-steps__confirm .pb-secure-note {
    margin-top: 12px !important;
    margin-bottom: 0;
    font-size: 12.5px;
    color: var(--pb-slate, #5c7089);
    text-align: center;
}

/* Ozet kartinin adimlar boyunca gorunur kalmasi */
@media (min-width: 992px) {
    .pb-summary-sticky {
        position: sticky;
        top: 24px;
    }
}

@media (max-width: 575px) {
    .pb-steps__title {
        font-size: 20px;
    }

    .pb-steps__dot-label {
        display: none;
    }

    .pb-steps__dot {
        padding: 6px;
    }

    .pb-steps__nav {
        flex-wrap: wrap;
    }

    .pb-steps__nav .pb-steps__next {
        width: 100%;
        flex: 1 1 100%;
        order: -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-steps__viewport,
    .pb-steps__bar-fill,
    .pb-steps__dot-num,
    .pb-steps__title,
    .pb-steps__subtitle,
    .pb-steps__eyebrow {
        transition: none;
    }

    .pb-step.is-in-fwd,
    .pb-step.is-in-back,
    .pb-step.is-out-fwd,
    .pb-step.is-out-back {
        animation: none;
    }

    .pb-step.is-out-fwd,
    .pb-step.is-out-back {
        display: none;
    }
}

/* =====================================================================
   PAKET KARTLARI — adım 1'deki plan seçimi
   ===================================================================== */
.pb-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.pb-plan {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    margin: 0;
    border: 1.5px solid var(--pb-line, #e4ebf2);
    border-radius: 14px;
    background: #fff;
    font: inherit;
    color: var(--pb-ink, #10233d);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--pb-shadow-sm, 0 8px 18px -12px rgba(10, 37, 64, .22));
    transition: border-color .2s ease, box-shadow .25s ease, transform .25s var(--pb-step-ease);
}

.pb-plan:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 99, 206, .45);
    box-shadow: 0 18px 34px -20px rgba(10, 37, 64, .45);
}

.pb-plan:focus-visible {
    outline: 3px solid rgba(11, 99, 206, .35);
    outline-offset: 2px;
}

.pb-plan.is-selected {
    border-color: var(--pb-blue, #0b63ce);
    box-shadow: 0 0 0 3px rgba(11, 99, 206, .14), 0 18px 34px -20px rgba(10, 37, 64, .45);
}

/* Üst bant — paket görseli yerine markaya uygun renk bandı */
.pb-plan__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    min-height: 52px;
    color: #fff;
    background: linear-gradient(120deg, var(--pb-navy, #0a2540), var(--pb-teal-dark, #0a7d86));
}

.pb-plan--tone-1 .pb-plan__banner { background: linear-gradient(120deg, #0b63ce, #0fb5c0); }
.pb-plan--tone-2 .pb-plan__banner { background: linear-gradient(120deg, #0a7d86, #22c55e); }
.pb-plan--tone-3 .pb-plan__banner { background: linear-gradient(120deg, #0c3454, #f2994a); }

.pb-plan__banner > i {
    font-size: 18px;
    opacity: .85;
}

.pb-plan__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}

.pb-plan__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    flex: 1;
}

.pb-plan__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.pb-plan__period {
    display: block;
    font-size: 12px;
    color: var(--pb-slate, #5c7089);
}

.pb-plan__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.pb-plan__price-old {
    font-size: 13px;
    color: #9aa9bb;
}

.pb-plan__price-now {
    font-size: 22px;
    font-weight: 700;
    color: var(--pb-ink, #10233d);
    letter-spacing: -.01em;
}

.pb-plan__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pb-plan__chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--pb-bg, #f5f9fc);
    border: 1px solid var(--pb-line, #e4ebf2);
    font-size: 11px;
    color: var(--pb-slate, #5c7089);
}

.pb-plan__chip i { font-size: 10px; }

.pb-plan__save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pb-green-dark, #16963f);
}

.pb-plan__state {
    display: block;
    padding: 11px 14px;
    border-top: 1px solid var(--pb-line, #e4ebf2);
    background: #fbfdfe;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: var(--pb-blue, #0b63ce);
}

.pb-plan__state-picked { display: none; }

.pb-plan.is-selected .pb-plan__state {
    background: var(--pb-blue, #0b63ce);
    color: #fff;
    border-top-color: var(--pb-blue, #0b63ce);
}

.pb-plan.is-selected .pb-plan__state-pick { display: none; }
.pb-plan.is-selected .pb-plan__state-picked { display: inline-flex; align-items: center; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
    .pb-plan { transition: none; }
    .pb-plan:hover { transform: none; }
}

/* =====================================================================
   BAYKUŞ REHBER — adım geçişlerinde uçarak gelen maskot
   ===================================================================== */
.pb-guide {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 18px;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: linear-gradient(120deg, rgba(11, 99, 206, .06), rgba(15, 181, 192, .08));
    border: 1px solid rgba(11, 99, 206, .12);
    overflow: hidden;
}

.pb-guide__stage {
    position: relative;
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
}

.pb-guide__owl {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: 50% 60%;
    animation: pbOwlIdle 3.2s ease-in-out infinite;
    will-change: transform;
}

/* Baykusun altindaki yumusak golge — ucusla birlikte kuculur */
.pb-guide__shadow {
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 34px;
    height: 7px;
    margin-left: -17px;
    border-radius: 50%;
    background: rgba(10, 37, 64, .18);
    filter: blur(3px);
    animation: pbOwlShadow 3.2s ease-in-out infinite;
}

@keyframes pbOwlIdle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-5px) rotate(-2deg); }
}

@keyframes pbOwlShadow {
    0%, 100% { transform: scaleX(1); opacity: .18; }
    50%      { transform: scaleX(.82); opacity: .1; }
}

/* Ucus: once mevcut yonde disari suzulur, sonra karsi taraftan yay cizerek doner */
@keyframes pbOwlFlyOutFwd {
    from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 1; }
    to   { transform: translate3d(120px, -46px, 0) rotate(16deg) scale(.55); opacity: 0; }
}

@keyframes pbOwlFlyInFwd {
    0%   { transform: translate3d(-110px, -40px, 0) rotate(-14deg) scale(.55); opacity: 0; }
    60%  { transform: translate3d(6px, 6px, 0) rotate(4deg) scale(1.06); opacity: 1; }
    80%  { transform: translate3d(-2px, -3px, 0) rotate(-2deg) scale(.98); }
    100% { transform: none; opacity: 1; }
}

@keyframes pbOwlFlyOutBack {
    from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 1; }
    to   { transform: translate3d(-120px, -46px, 0) rotate(-16deg) scale(.55); opacity: 0; }
}

@keyframes pbOwlFlyInBack {
    0%   { transform: translate3d(110px, -40px, 0) rotate(14deg) scale(.55); opacity: 0; }
    60%  { transform: translate3d(-6px, 6px, 0) rotate(-4deg) scale(1.06); opacity: 1; }
    80%  { transform: translate3d(2px, -3px, 0) rotate(2deg) scale(.98); }
    100% { transform: none; opacity: 1; }
}

/* Paket secildiginde sevincli ziplama */
@keyframes pbOwlHop {
    0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
    25%      { transform: translateY(-16px) scale(1.08) rotate(-7deg); }
    50%      { transform: translateY(0) scale(.96) rotate(0deg); }
    75%      { transform: translateY(-7px) scale(1.03) rotate(5deg); }
}

/* Hata durumunda uyarici sallanma */
@keyframes pbOwlShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    20%      { transform: translateX(-6px) rotate(-6deg); }
    40%      { transform: translateX(6px) rotate(6deg); }
    60%      { transform: translateX(-4px) rotate(-4deg); }
    80%      { transform: translateX(4px) rotate(4deg); }
}

.pb-guide.is-flyout-fwd  .pb-guide__owl { animation: pbOwlFlyOutFwd .26s ease-in both; }
.pb-guide.is-flyin-fwd   .pb-guide__owl { animation: pbOwlFlyInFwd .62s var(--pb-step-ease, cubic-bezier(.22,.61,.36,1)) both; }
.pb-guide.is-flyout-back .pb-guide__owl { animation: pbOwlFlyOutBack .26s ease-in both; }
.pb-guide.is-flyin-back  .pb-guide__owl { animation: pbOwlFlyInBack .62s var(--pb-step-ease, cubic-bezier(.22,.61,.36,1)) both; }
.pb-guide.is-hop         .pb-guide__owl { animation: pbOwlHop .7s ease-in-out both; }
.pb-guide.is-shake       .pb-guide__owl { animation: pbOwlShake .5s ease-in-out both; }

.pb-guide.is-flyout-fwd .pb-guide__shadow,
.pb-guide.is-flyin-fwd .pb-guide__shadow,
.pb-guide.is-flyout-back .pb-guide__shadow,
.pb-guide.is-flyin-back .pb-guide__shadow {
    opacity: 0;
    transition: opacity .2s ease;
}

/* Ucus izi — kucuk tuy parcaciklari */
.pb-guide__trail {
    position: absolute;
    left: 26px;
    top: 30px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pb-teal, #0fb5c0);
    opacity: 0;
    pointer-events: none;
}

.pb-guide__trail:nth-child(2) { animation-delay: .06s; background: var(--pb-blue, #0b63ce); }
.pb-guide__trail:nth-child(3) { animation-delay: .12s; background: var(--pb-orange, #f2994a); }

.pb-guide.is-flyin-fwd .pb-guide__trail  { animation: pbTrailFwd .55s ease-out both; }
.pb-guide.is-flyin-back .pb-guide__trail { animation: pbTrailBack .55s ease-out both; }

@keyframes pbTrailFwd {
    0%   { opacity: 0; transform: translate3d(-70px, -26px, 0) scale(.4); }
    35%  { opacity: .85; }
    100% { opacity: 0; transform: translate3d(10px, 6px, 0) scale(1); }
}

@keyframes pbTrailBack {
    0%   { opacity: 0; transform: translate3d(70px, -26px, 0) scale(.4); }
    35%  { opacity: .85; }
    100% { opacity: 0; transform: translate3d(-10px, 6px, 0) scale(1); }
}

/* ---------- Konusma balonu ---------- */
.pb-guide__bubble {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 11px 15px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--pb-line, #e4ebf2);
    box-shadow: var(--pb-shadow-sm, 0 8px 18px -12px rgba(10, 37, 64, .22));
}

.pb-guide__bubble::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    transform: rotate(45deg);
    background: #fff;
    border-left: 1px solid var(--pb-line, #e4ebf2);
    border-bottom: 1px solid var(--pb-line, #e4ebf2);
}

.pb-guide__text {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    color: var(--pb-ink, #10233d);
    transition: opacity .18s ease, transform .18s ease;
}

.pb-guide__hint {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--pb-slate, #5c7089);
    transition: opacity .18s ease;
}

.pb-guide.is-swapping .pb-guide__text {
    opacity: 0;
    transform: translateY(6px);
}

.pb-guide.is-swapping .pb-guide__hint { opacity: 0; }

.pb-guide.is-warn .pb-guide__bubble {
    border-color: rgba(242, 153, 74, .55);
    box-shadow: 0 0 0 3px rgba(242, 153, 74, .12);
}

.pb-guide.is-warn .pb-guide__bubble::before {
    border-left-color: rgba(242, 153, 74, .55);
    border-bottom-color: rgba(242, 153, 74, .55);
}

@media (max-width: 575px) {
    .pb-guide {
        gap: 10px;
        padding: 10px 12px 10px 10px;
    }

    .pb-guide__stage {
        width: 48px;
        height: 48px;
    }

    .pb-guide__text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .pb-guide__owl,
    .pb-guide__shadow,
    .pb-guide.is-flyout-fwd .pb-guide__owl,
    .pb-guide.is-flyin-fwd .pb-guide__owl,
    .pb-guide.is-flyout-back .pb-guide__owl,
    .pb-guide.is-flyin-back .pb-guide__owl,
    .pb-guide.is-hop .pb-guide__owl,
    .pb-guide.is-shake .pb-guide__owl,
    .pb-guide__trail {
        animation: none !important;
    }

    .pb-guide__text,
    .pb-guide__hint {
        transition: none;
    }
}

/* =====================================================================
   Paket secim hatasi — eski #alertmodal yerine inline geri bildirim
   (bkz. payment-steps.js validateStep, step '1')
   ===================================================================== */
@keyframes pbShake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.pb-plans--shake { animation: pbShake .5s ease-in-out both; }

.pb-plans--invalid .pb-plan {
    border-color: rgba(220, 53, 69, .45);
}

.pb-plans__error {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #dc3545;
}

.pb-plans__error.is-visible { display: flex; }

/* =====================================================================
   Telefon numarasi + SMS OTP dogrulama (Adim 3 — Ogrenci Bilgileri)
   Tek input, "Kod Gonder" -> kod kutusu belirir -> "Dogrula".
   ===================================================================== */
.pb-otp__row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.pb-otp__row .pb-otp__phone {
    flex: 1 1 auto;
    min-width: 0;
}

.pb-otp__send,
.pb-otp__verify-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(120deg, var(--pb-blue, #0b63ce), var(--pb-teal-dark, #0a7d86));
    transition: filter .18s ease, transform .18s ease, opacity .18s ease;
}

.pb-otp__send:hover:not(:disabled),
.pb-otp__verify-btn:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.pb-otp__send:disabled,
.pb-otp__verify-btn:disabled {
    opacity: .6;
    cursor: default;
    transform: none;
}

.pb-otp__verify {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: 10px;
}

.pb-otp__code {
    flex: 1 1 auto;
    min-width: 0;
    letter-spacing: 4px;
    font-weight: 600;
    text-align: center;
}

.pb-otp__status {
    min-height: 18px;
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--pb-slate, #5c7089);
}

.pb-otp__status--ok {
    color: var(--pb-green-dark, #16963f);
}

.pb-otp__status--error {
    color: #dc3545;
}

/* Dogrulandiktan sonra: yesil cerceve + salt-okunur telefon alani */
.pb-otp--verified .pb-otp__phone {
    border-color: var(--pb-green, #22c55e) !important;
    background: rgba(34, 197, 94, .06);
    padding-right: 34px;
}

.pb-otp--verified .pb-otp__row {
    position: relative;
}

.pb-otp--verified .pb-otp__row::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: 118px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pb-green, #22c55e);
    font-size: 13px;
    pointer-events: none;
}

.pb-otp--shake { animation: pbShake .5s ease-in-out both; }

@media (max-width: 575px) {
    .pb-otp__row,
    .pb-otp__verify {
        flex-direction: column;
    }

    .pb-otp__send,
    .pb-otp__verify-btn {
        padding: 11px 18px;
    }

    .pb-otp--verified .pb-otp__row::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-plans--shake,
    .pb-otp--shake {
        animation: none;
    }
}

/* =====================================================================
   Veli Bilgileri (Adim 3, istege bagli)
   Uc secenek: eklemeyecegim / ogrenciyle ayni numara / farkli numara.
   Farkli numarada ogrenciyle ayni .pb-otp bileseni (Kod Gonder -> Dogrula).
   ===================================================================== */
.pb-parent__optional {
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
    color: var(--pb-slate, #5c7089);
    background: rgba(92, 112, 137, .12);
}

.pb-parent__hint {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--pb-slate, #5c7089);
}

.pb-parent__modes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.pb-parent__mode {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1.5px solid rgba(92, 112, 137, .28);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}

.pb-parent__mode input {
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--pb-blue, #0b63ce);
}

.pb-parent__mode:hover {
    border-color: var(--pb-blue, #0b63ce);
}

.pb-parent__mode.is-selected {
    border-color: var(--pb-blue, #0b63ce);
    background: rgba(11, 99, 206, .06);
}

.pb-parent__mode input:focus-visible {
    outline: 2px solid var(--pb-blue, #0b63ce);
    outline-offset: 2px;
}

.pb-parent--shake { animation: pbShake .5s ease-in-out both; }

@media (max-width: 575px) {
    .pb-parent__modes {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-parent--shake {
        animation: none;
    }
}
