/* ============================================================
   YappCari — Kayit ekrani (CreateAccount.aspx)
   yappcari-login.css (auth kabugu) uzerine kurulur.
   ============================================================ */

/* Whitelabel kayit ekrani arka plani body'ye inline gelir:
   burada yalnizca nasil oturacagini tanimliyoruz. */
.yc-auth-body {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Kayit karti login'den biraz genis */
.yc-auth__card--wide {
    max-width: 496px;
}

/* ---------- Baslik ---------- */
.bilsoftLogo {
    width: 100%;
    max-width: 168px;
    height: 46px;
    margin: 0;
    background-image: url('../images/bilsoft_logo_1.png');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

.baslik {
    margin: 0 0 22px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.02em;
    color: var(--text, #31302E);
}

/* ---------- Adim gostergesi ---------- */
.f1-steps {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0 0 24px;
}

.f1-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
    min-width: 0;
}

    /* adimlar arasi baglayici cizgi */
    .f1-step::before {
        content: '';
        position: absolute;
        top: 19px;
        right: 50%;
        left: -50%;
        height: 2px;
        background: var(--yc-border, #EBEBEB);
        z-index: 0;
    }

    .f1-step:first-child::before {
        display: none;
    }

    .f1-step.active::before,
    .f1-step.activated::before {
        background: var(--yc-sidebar, #1E293B);
    }

.f1-step-icon {
    position: relative;
    z-index: 1;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--yc-border, #EBEBEB);
    color: var(--muted, #ADACAB);
    font-size: 14px;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.f1-step.active .f1-step-icon {
    background: var(--yc-sidebar, #1E293B);
    border-color: var(--yc-sidebar, #1E293B);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(30, 41, 59, .12);
}

.f1-step.activated .f1-step-icon {
    background: var(--asset, #0A6D4F);
    border-color: var(--asset, #0A6D4F);
    color: #fff;
}

    /* tamamlanan adimda ikon tike doner */
    .f1-step.activated .f1-step-icon i::before {
        content: "\f00c";
    }

.f1-step p {
    margin: 0;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.005em;
    color: var(--muted, #ADACAB);
    transition: color .2s ease;
}

.f1-step.active p {
    color: var(--text, #31302E);
}

.f1-step.activated p {
    color: var(--text-2, #838382);
}

/* ---------- Adim panelleri ---------- */
.yc-fs {
    display: none;
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
    flex-direction: column;
    gap: 14px;
    animation: yc-card-in .3s cubic-bezier(.22, 1, .36, 1) both;
}

#birinciForm {
    display: flex;
}

/* ---------- Hatali alan ---------- */
.yc-input.input-error,
.input-error {
    border-color: var(--yc-red, #DC2625) !important;
    background: #FFF7F7 !important;
}

/* ---------- Buton satiri ---------- */
.f1-buttons {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

    .f1-buttons .yc-btn {
        flex: 1;
    }

    .f1-buttons .btn-previous {
        flex: 0 0 auto;
        min-width: 108px;
    }

/* ---------- Sozlesme ---------- */
#sozlesme {
    display: none;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--yc-page-cool, #F8FAFC);
    border: 1px solid var(--yc-border, #EBEBEB);
}

    #sozlesme label {
        display: flex;
        align-items: flex-start;
        gap: 9px;
        margin: 0;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.45;
        color: var(--text-2, #838382);
        cursor: pointer;
    }

    #sozlesme input[type="checkbox"] {
        width: 17px;
        height: 17px;
        margin: 2px 0 0;
        border-radius: 5px;
        accent-color: var(--yc-sidebar, #1E293B);
        cursor: pointer;
        flex: none;
    }

    #sozlesme a {
        color: var(--yc-red, #DC2625);
        font-weight: 600;
        text-decoration: none !important;
    }

        #sozlesme a:hover {
            text-decoration: underline !important;
        }

/* ---------- Giris yap satiri ---------- */
.HesapVarmi {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-2, #838382);
}

.BtnGirisYap {
    color: var(--yc-red, #DC2625) !important;
    font-weight: 600;
    text-decoration: none !important;
}

    .BtnGirisYap:hover {
        text-decoration: underline !important;
    }

/* ---------- Dogrulama adimi ---------- */
.yc-code-hint {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-2, #838382);
}

    .yc-code-hint b {
        color: var(--text, #31302E);
        font-weight: 600;
        word-break: break-all;
    }

#inputSmsKodu {
    font-family: var(--font-mono, ui-monospace, 'Consolas', monospace);
    font-size: 18px;
    letter-spacing: .28em;
    text-align: center;
    padding-left: 14px;
}

.yc-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-2, #838382);
}

    .yc-countdown svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

#sayac {
    font-family: var(--font-mono, ui-monospace, 'Consolas', monospace);
    font-weight: 600;
    color: var(--yc-red, #DC2625);
    font-feature-settings: "tnum" 1;
}

/* ---------- Son adim: hesap olusturuluyor ---------- */
.yc-creating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 26px 0 18px;
    text-align: center;
}

    .yc-creating img {
        max-width: 176px;
        max-height: 56px;
        height: auto;
        object-fit: contain;
    }

.yc-spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid var(--yc-border, #EBEBEB);
    border-top-color: var(--yc-sidebar, #1E293B);
    animation: yc-spin .8s linear infinite;
}

@keyframes yc-spin {
    to {
        transform: rotate(360deg);
    }
}

.yc-creating p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-2, #838382);
}

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
    .f1-step p {
        font-size: 10.5px;
    }

    .f1-buttons {
        flex-direction: column-reverse;
    }

        .f1-buttons .btn-previous {
            width: 100%;
        }
}
