/* ============================================================
   YappCari — Giris ekrani (Login.aspx)
   Brand book: yappcaristyle.css (:root token'lari) uzerine kurulur.
   ============================================================ */

.yc-auth-body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    background: var(--yc-page, #FFFAF5) !important;
    color: var(--text, #31302E);
    font-family: var(--font-sans, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.yc-auth-body * {
    box-sizing: border-box;
}

.yc-auth-body form {
    margin: 0;
}

/* ---------- Kabuk ---------- */
.yc-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(560px, 38%);
}

/* ---------- Sol: marka paneli (fotograf + tanitim metni) ---------- */
.yc-auth__brand {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    padding: clamp(48px, 9vh, 104px) clamp(36px, 4.4vw, 72px) 48px;
    background: #1A1E23 url('../images/Yappimg/yappcari-login-panel.jpg') center / cover no-repeat;
    isolation: isolate;
    color: #fff;
    text-align: left;
}

    /* metnin okunmasi icin sol ust koseye hafif koyu gecis */
    .yc-auth__brand::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(115% 72% at 0% 0%, rgba(10, 13, 18, .82) 0%, rgba(10, 13, 18, .62) 38%, rgba(10, 13, 18, 0) 78%);
        z-index: -1;
    }

.yc-brand__inner {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    animation: yc-card-in .6s cubic-bezier(.22, 1, .36, 1) both;
}

.yc-brand__title {
    margin: 0;
    font-size: clamp(32px, 3.1vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.028em;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.yc-brand__lead {
    margin: 14px 0 0;
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.01em;
    color: rgba(255, 255, 255, .86);
    text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

/* ---------- Ozellik maddeleri ---------- */
.yc-brand__features {
    list-style: none;
    margin: clamp(22px, 3.4vh, 34px) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .yc-brand__features li {
        display: flex;
        align-items: center;
        gap: 16px;
    }

.yc-feature__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(29, 74, 60, .88);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
}

    .yc-feature__icon svg {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: #fff;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.yc-feature__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .yc-feature__text b {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: -.01em;
        color: #fff;
    }

    .yc-feature__text span {
        font-size: 14px;
        line-height: 1.4;
        color: rgba(255, 255, 255, .82);
    }

/* Alcak ekranlarda fotograftaki laptop yukari cikiyor: metin blogunu sikistir */
@media (max-height: 940px) {
    .yc-auth__brand {
        padding-top: 48px;
    }

    .yc-brand__title {
        font-size: clamp(30px, 2.7vw, 40px);
    }

    .yc-brand__lead {
        margin-top: 10px;
        font-size: 16px;
    }

    .yc-brand__features {
        margin-top: 20px;
        gap: 10px;
    }

    .yc-feature__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

        .yc-feature__icon svg {
            width: 20px;
            height: 20px;
        }

    .yc-feature__text b {
        font-size: 15px;
    }

    .yc-feature__text span {
        font-size: 13px;
    }
}

/* ---------- Sag: form paneli ---------- */
.yc-auth__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 40px 24px;
    background: var(--yc-page, #FFFAF5);
}

.yc-auth__card {
    width: 100%;
    max-width: 452px;
    background: #fff;
    border: 1px solid var(--yc-border, #EBEBEB);
    border-radius: 22px;
    box-shadow: 0 26px 60px -40px rgba(30, 41, 59, .45), 0 4px 14px rgba(49, 48, 46, .04);
    padding: 30px 30px 28px;
    animation: yc-card-in .45s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes yc-card-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.yc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
}

.yc-logo {
    max-width: 168px;
    max-height: 52px;
    height: auto;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* ---------- Form alanlari ---------- */
.yc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .yc-field > label {
        font-size: 12.5px;
        font-weight: 500;
        color: var(--text-2, #838382);
        letter-spacing: -.005em;
        margin: 0;
    }

.yc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

    .yc-input-wrap > svg {
        position: absolute;
        left: 13px;
        width: 17px;
        height: 17px;
        stroke: var(--muted, #ADACAB);
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
        transition: stroke .15s ease;
    }

.yc-input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 40px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text, #31302E);
    background: var(--yc-page-cool, #F8FAFC);
    border: 1px solid var(--yc-border, #EBEBEB);
    border-radius: 12px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

    .yc-input::placeholder {
        color: var(--muted, #ADACAB);
    }

    .yc-input:hover {
        border-color: #DFD8CD;
    }

    .yc-input:focus {
        background: #fff;
        border-color: var(--yc-sidebar, #1E293B);
        box-shadow: 0 0 0 3px rgba(30, 41, 59, .10);
    }

.yc-input-wrap:focus-within > svg {
    stroke: var(--yc-sidebar, #1E293B);
}

.yc-input--pw {
    padding-right: 46px;
}

.yc-eye {
    position: absolute;
    right: 6px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--muted, #ADACAB);
    border-radius: 9px;
    cursor: pointer;
    padding: 0;
    transition: color .15s ease, background .15s ease;
}

    .yc-eye:hover {
        color: var(--text, #31302E);
        background: var(--yc-page-cool, #F8FAFC);
    }

    .yc-eye svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ---------- Secenek satiri ---------- */
.yc-options {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.yc-checks {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.yc-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2, #838382);
    cursor: pointer;
    margin: 0;
    user-select: none;
}

    .yc-check input[type="checkbox"] {
        width: 17px;
        height: 17px;
        margin: 0;
        border-radius: 5px;
        accent-color: var(--yc-sidebar, #1E293B);
        cursor: pointer;
        flex: none;
    }

    .yc-check:hover {
        color: var(--text, #31302E);
    }

.yc-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--yc-red, #DC2625);
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition: border-color .15s ease, color .15s ease;
    background: none;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 0;
}

    .yc-link:hover,
    .yc-link:focus {
        color: var(--yc-red-dark, #B91C1C);
        border-bottom-color: currentColor;
    }

/* ---------- Butonlar ---------- */
.yc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    border-radius: 12px;
    border: 1px solid var(--yc-border, #EBEBEB);
    background: #fff;
    color: var(--text, #31302E);
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

    .yc-btn:hover {
        border-color: #DFD8CD;
        background: var(--yc-page-cool, #F8FAFC);
        color: var(--text, #31302E);
        transform: translateY(-1px);
    }

    .yc-btn:active {
        transform: none;
    }

    .yc-btn i {
        font-size: 13px;
    }

.yc-btn--block {
    width: 100%;
}

.yc-btn--primary {
    background: linear-gradient(180deg, #26364F 0%, #1E293B 100%);
    border-color: #1E293B;
    color: #fff !important;
    box-shadow: 0 12px 26px -16px rgba(30, 41, 59, .85);
    margin-top: 4px;
}

    .yc-btn--primary:hover {
        background: linear-gradient(180deg, #33455F 0%, #26364F 100%);
        border-color: #26364F;
        color: #fff !important;
        box-shadow: 0 16px 30px -16px rgba(30, 41, 59, .9);
    }

.yc-btn--danger {
    background: var(--yc-red, #DC2625);
    border-color: var(--yc-red, #DC2625);
    color: #fff !important;
}

    .yc-btn--danger:hover {
        background: var(--yc-red-dark, #B91C1C);
        border-color: var(--yc-red-dark, #B91C1C);
        color: #fff !important;
    }

.yc-btn--ghost {
    background: #fff;
    color: var(--text-2, #838382);
}

/* ---------- Ayirici ---------- */
.yc-divider {
    height: 1px;
    background: var(--yc-border, #EBEBEB);
    margin: 6px 0 2px;
    border: 0;
}

/* ---------- Alt aksiyonlar ---------- */
.yc-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .yc-alt .yc-btn {
        min-height: 42px;
        font-size: 13px;
        font-weight: 500;
        padding: 10px 12px;
    }

/* ---------- Musteri panel girisi ---------- */
.bayiPortalParent {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.yc-portal-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background .15s ease;
}

    .yc-portal-link:hover {
        background: var(--yc-page-cool, #F8FAFC);
    }

    .yc-portal-link img {
        max-height: 20px;
        width: auto;
    }

    .yc-portal-link i {
        font-size: 13px;
        color: var(--ink-3, #64748B);
    }

/* ---------- Uyari kutusu ---------- */
.yc-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 38px 13px 14px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.45;
    background: var(--debt-soft, #FFE8EA);
    border: 1px solid #F3C7CB;
    color: #8E1B1B;
}

    .yc-alert svg {
        width: 17px;
        height: 17px;
        flex: none;
        margin-top: 1px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.yc-alert__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.yc-alert .close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: inherit;
    opacity: .55;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
}

    .yc-alert .close:hover {
        opacity: 1;
        background: rgba(142, 27, 27, .09);
    }

    .yc-alert .close::before {
        content: '\00d7';
    }

.odemeYap {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: var(--yc-red, #DC2625);
    border: 1px solid var(--yc-red, #DC2625);
    color: #fff !important;
    text-decoration: none !important;
}

    .odemeYap:hover {
        background: var(--yc-red-dark, #B91C1C);
        border-color: var(--yc-red-dark, #B91C1C);
        color: #fff !important;
    }

/* ---------- Adim kartlari (devam et / donem sec / sifre unuttum) ---------- */
.yc-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.yc-step__title {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--text, #31302E);
}

.yc-step__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-2, #838382);
}

.yc-step__icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--warn-soft, #FFF0DB);
    color: var(--warn, #D97708);
}

    .yc-step__icon svg {
        width: 21px;
        height: 21px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.yc-step__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

    .yc-step__actions .yc-btn {
        min-width: 118px;
    }

/* select */
.yc-select {
    width: 100%;
    height: 48px;
    padding: 0 38px 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text, #31302E);
    background-color: var(--yc-page-cool, #F8FAFC);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23838382' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 16px 16px;
    border: 1px solid var(--yc-border, #EBEBEB);
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

    .yc-select:focus {
        background-color: #fff;
        border-color: var(--yc-sidebar, #1E293B);
        box-shadow: 0 0 0 3px rgba(30, 41, 59, .10);
    }

/* sifre sonuc balonu */
.tooltip {
    display: none;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    color: #8E1B1B;
    background: var(--debt-soft, #FFE8EA);
    border: 1px solid #F3C7CB;
    border-radius: 11px;
    padding: 10px 12px;
}

    .tooltip.active {
        display: block;
    }

/* ---------- Dil secici ---------- */
.dropdownDil {
    position: relative;
    flex: none;
}

.dropdown-toggle2 {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid var(--yc-border, #EBEBEB);
    border-radius: 11px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2, #838382);
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

    .dropdown-toggle2:hover,
    .dropdown-toggle2:focus {
        border-color: #DFD8CD;
        background: var(--yc-page-cool, #F8FAFC);
        color: var(--text, #31302E);
    }

    .dropdown-toggle2::after {
        content: '';
        width: 6px;
        height: 6px;
        margin-left: 1px;
        border-right: 1.6px solid currentColor;
        border-bottom: 1.6px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        opacity: .65;
    }

    .dropdown-toggle2 .flag-icon {
        border-radius: 3px;
        line-height: 1;
    }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    z-index: 60;
    display: none;
    min-width: 178px;
    max-height: 244px;
    overflow-y: auto;
    padding: 6px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--yc-border, #EBEBEB);
    border-radius: 14px;
    box-shadow: 0 18px 40px -22px rgba(30, 41, 59, .5);
}

    .dropdown-menu.show {
        display: block;
        animation: yc-card-in .16s ease both;
    }

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text, #31302E);
    text-decoration: none !important;
    cursor: pointer;
    transition: background .12s ease;
}

    .dropdown-item:hover {
        background: var(--yc-page-cool, #F8FAFC);
    }

    .dropdown-item .flag-icon {
        border-radius: 3px;
    }

/* ---------- Alt bilgi ---------- */
.copyright {
    font-size: 12px;
    color: var(--muted, #ADACAB);
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .yc-auth__brand {
        padding: 40px 32px;
    }
}

@media (max-width: 992px) {
    .yc-auth {
        grid-template-columns: 1fr;
    }

    .yc-auth__brand {
        display: none;
    }

    .yc-auth__panel {
        padding: 28px 18px;
        min-height: 100vh;
    }
}

@media (max-width: 520px) {
    .yc-auth__card {
        padding: 24px 20px 22px;
        border-radius: 18px;
    }

    .yc-alt {
        grid-template-columns: 1fr;
    }

    .yc-options {
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yc-auth-body *,
    .yc-auth-body *::before,
    .yc-auth-body *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* asp:CheckBox bazen input'u span ile sarar */
.yc-check > span {
    display: inline-flex;
    align-items: center;
}

.yc-eye.is-on {
    color: var(--yc-sidebar, #1E293B);
}
