/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-lozpaxya0h],
.components-reconnect-repeated-attempt-visible[b-lozpaxya0h],
.components-reconnect-failed-visible[b-lozpaxya0h],
.components-pause-visible[b-lozpaxya0h],
.components-resume-failed-visible[b-lozpaxya0h],
.components-rejoining-animation[b-lozpaxya0h] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-retrying[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-failed[b-lozpaxya0h],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-lozpaxya0h] {
    display: block;
}


#components-reconnect-modal[b-lozpaxya0h] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-lozpaxya0h 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-lozpaxya0h 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-lozpaxya0h 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-lozpaxya0h]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-lozpaxya0h 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-lozpaxya0h {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-lozpaxya0h {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-lozpaxya0h {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-lozpaxya0h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-lozpaxya0h] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-lozpaxya0h] {
    border: 0;
    background-color: #0F766E;
    color: white;
    padding: 10px 24px;
    min-height: 44px;
    font: inherit;
    font-weight: 600;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-lozpaxya0h] {
        background-color: #115E59;
    }

    #components-reconnect-modal button:active[b-lozpaxya0h] {
        background-color: #0F766E;
    }

.components-rejoining-animation[b-lozpaxya0h] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-lozpaxya0h] {
        position: absolute;
        border: 3px solid #0F766E;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-lozpaxya0h 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-lozpaxya0h] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-lozpaxya0h {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Ui/TelefonGirdisi.razor.rz.scp.css */
/*
   Tema değişkenleri (uygulama kendi CSS'inde .tel için verir; yoksa varsayılanlar):
   --tel-yukseklik  --tel-kenar  --tel-odak  --tel-odak-halka  --tel-yaricap  --tel-zemin  --tel-yazi  --tel-ikincil  --tel-hata
*/
.tel[b-ez49kjz52t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* Ülke kodu ve numara tek kutu: birlikte okunur, birlikte odaklanır. */
.tel-kutu[b-ez49kjz52t] {
    display: flex;
    align-items: stretch;
    min-height: var(--tel-yukseklik, 48px);
    border: 1px solid var(--tel-kenar, #B8C9C2);
    border-radius: var(--tel-yaricap, 4px);
    background: var(--tel-zemin, #fff);
    color: var(--tel-yazi, inherit);
    transition: border-color 160ms, box-shadow 160ms;
}

.tel-kutu:focus-within[b-ez49kjz52t] {
    border-color: var(--tel-odak, #0F766E);
    box-shadow: 0 0 0 3px var(--tel-odak-halka, rgba(15, 118, 110, .18));
}

.tel[data-hata] .tel-kutu[b-ez49kjz52t] {
    border-color: var(--tel-hata, #B42318);
}

/* Görünen kısım bayrak + kod; üstünde görünmez yerel <select>: dokununca telefonun kendi listesi açılır. */
.tel-ulke[b-ez49kjz52t] {
    position: relative;
    flex: none;
    display: flex;
    border-radius: var(--tel-yaricap, 4px) 0 0 var(--tel-yaricap, 4px);
}

/* Kısa ayraç: kutu tek alan olarak okunur, kod ile numara yine ayrışır. */
.tel-ulke[b-ez49kjz52t]::after {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    bottom: 25%;
    width: 1px;
    background: var(--tel-kenar, #B8C9C2);
}

.tel-ulke:focus-within[b-ez49kjz52t] {
    background: var(--tel-odak-halka, rgba(15, 118, 110, .12));
}

.tel-ulke-gorunen[b-ez49kjz52t] {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Sol boşluk numara kutusunun yazı boşluğuyla aynı: bayrak çizgiye yapışmaz, alanlar aynı hizadan başlar. */
    padding: 0 12px 0 var(--tel-ic-bosluk, 12px);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: none;
}

/* Ülke işareti: bayrak emojisi Windows'ta çizilmez ("DE" harfi çıkar), bu yüzden her yerde aynı görünen ISO kodu rozeti. */
.tel-iso[b-ez49kjz52t] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1em;
    padding: 2px 5px;
    border-radius: 4px;
    background: var(--tel-ikincil-zemin, rgba(15, 118, 110, .1));
    color: var(--tel-ikincil, #5B6B66);
    font-size: .75em;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
}

.tel-iso-dunya[b-ez49kjz52t] {
    padding: 2px 4px;
    width: auto;
    height: 1.35em;
    box-sizing: content-box;
}

.tel-ok[b-ez49kjz52t] {
    flex: none;
    width: 10px;
    height: 10px;
    color: var(--tel-ikincil, #5B6B66);
}

.tel .tel-ulke select[b-ez49kjz52t] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    font-size: 16px;
    appearance: none;
}

/* Ülke listesi: Chrome/Edge'de (appearance: base-select) sitenin renk ve yuvarlaklığıyla açılan liste.
   Desteklemeyen tarayıcıda ve telefonda yerel liste kalır (hiçbir şey bozulmaz). */
@supports (appearance: base-select) {
    .tel .tel-ulke select[b-ez49kjz52t],
    .tel .tel-ulke select[b-ez49kjz52t]::picker(select) {
        appearance: base-select;
    }

    /* Düğme kısmı görünmez (üstteki rozet görünür); opacity yok, çünkü açılan liste de soluklaşırdı. */
    .tel .tel-ulke select[b-ez49kjz52t] {
        opacity: 1;
        color: transparent;
        background: transparent;
    }

    .tel .tel-ulke select[b-ez49kjz52t]::picker-icon {
        display: none;
    }

    .tel .tel-ulke select[b-ez49kjz52t]::picker(select) {
        box-sizing: border-box;
        min-width: 260px;
        max-block-size: min(340px, 60vh);
        margin-block: 6px;
        padding: 6px;
        border: 1px solid var(--tel-kenar, #B8C9C2);
        border-radius: calc(var(--tel-yaricap, 4px) + 4px);
        background: var(--tel-zemin, #fff);
        box-shadow: 0 12px 32px rgba(16, 40, 34, .18);
    }

    .tel .tel-ulke select option[b-ez49kjz52t] {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: var(--tel-yaricap, 4px);
        color: var(--tel-yazi, #1B2B26);
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
    }

    .tel .tel-ulke select option:hover[b-ez49kjz52t],
    .tel .tel-ulke select option:focus-visible[b-ez49kjz52t] {
        background: var(--tel-odak-halka, rgba(15, 118, 110, .12));
    }

    .tel .tel-ulke select option:checked[b-ez49kjz52t] {
        background: var(--tel-ikincil-zemin, rgba(15, 118, 110, .1));
        font-weight: 700;
    }

    .tel .tel-ulke select option[b-ez49kjz52t]::checkmark {
        order: 1;
        margin-inline-start: auto;
        color: var(--tel-odak, #0F766E);
    }
}

/* Uygulamanın genel input kuralları (.alan input vb.) kutunun içinde ikinci çerçeve çizmesin. */
.tel .tel-kutu input[b-ez49kjz52t] {
    flex: 1;
    width: auto;
    min-width: 0;
    margin: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    background: transparent;
    /* Orantılı rakam: sabit genişlikte "1" geniş yer kaplar, numara seyrek görünür. */
    font-variant-numeric: normal;
    letter-spacing: normal;
}

/* Bağımsız kullanımda boyutları bileşen verir; Radzen içinde (gömülü) yükseklik ve yazı Radzen'in kutusundan gelir,
   böylece komşu alanlarla (Ad, Soyad) aynı boyda olur. */
.tel:not(.tel-gomulu) .tel-kutu input[b-ez49kjz52t] {
    min-height: 0;
    padding: 0 var(--tel-ic-bosluk, 12px);
    border-radius: 0 var(--tel-yaricap, 4px) var(--tel-yaricap, 4px) 0;
    color: inherit;
    font: inherit;
    /* 16px altı iOS'ta odaklanınca sayfayı büyütür. */
    font-size: max(16px, 1em);
}

.tel .tel-kutu input[b-ez49kjz52t]::placeholder {
    color: var(--tel-ikincil, #5B6B66);
    opacity: .7;
}

.tel .tel-kutu input:disabled[b-ez49kjz52t],
.tel .tel-ulke select:disabled[b-ez49kjz52t] {
    cursor: not-allowed;
}

.tel-hata[b-ez49kjz52t] {
    margin: 0;
    color: var(--tel-hata, #B42318);
    font-size: .875rem;
    font-weight: 500;
}

.tel-hata:empty[b-ez49kjz52t] {
    display: none;
}

/* Radzen alanı içinde: çerçeve ve odak alanın kendisinde. */
.tel-gomulu .tel-kutu[b-ez49kjz52t],
.tel-gomulu .tel-kutu:focus-within[b-ez49kjz52t] {
    min-height: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.tel-gomulu .tel-ulke-gorunen[b-ez49kjz52t] {
    font-size: max(16px, 1em);
}

.tel-gomulu.tel[b-ez49kjz52t] {
    width: 100%;
}
