/* VADİ BİLGİSAYAR AUTH SAYFALARI - ORTALI PREMIUM TASARIM */

.vb-auth-page {
    position: relative;
    min-height: calc(100vh - 180px);
    padding: 58px 0 76px;
    background:
        radial-gradient(circle at 18% 12%, rgba(182, 0, 0, 0.075), transparent 34%),
        radial-gradient(circle at 82% 20%, rgba(17, 24, 39, 0.06), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
    overflow: hidden;
}

.vb-auth-page * {
    box-sizing: border-box;
}

.vb-auth-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.vb-auth-bg span {
    position: absolute;
    display: block;
    border-radius: 999px;
}

.vb-auth-bg span:nth-child(1) {
    width: 340px;
    height: 340px;
    left: -120px;
    top: 70px;
    background: rgba(182, 0, 0, 0.07);
}

.vb-auth-bg span:nth-child(2) {
    width: 280px;
    height: 280px;
    right: -90px;
    top: 120px;
    background: rgba(17, 24, 39, 0.055);
}

.vb-auth-bg span:nth-child(3) {
    width: 190px;
    height: 190px;
    left: 48%;
    bottom: -80px;
    background: rgba(182, 0, 0, 0.04);
}

/* Soldaki görsel alan kaldırıldı, form ortalandı */
.vb-auth-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    display: block;
}

.vb-auth-info {
    display: none !important;
}

.vb-auth-card {
    position: relative;
    width: 100%;
    padding: 34px;
    border: 1px solid #e3e8ef;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 70px rgba(17, 24, 39, 0.11);
    backdrop-filter: blur(14px);
}

.vb-auth-card::before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 0;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #111111, #b60000);
}

.vb-auth-brand {
    margin-bottom: 22px;
    text-align: center;
}

.vb-auth-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.vb-auth-logo strong {
    color: #111827;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.45px;
}

.vb-auth-logo span {
    margin-top: 4px;
    color: #8893a1;
    font-size: 12px;
    font-weight: 500;
}

.vb-auth-head {
    margin-bottom: 24px;
    text-align: center;
}

.vb-auth-head > span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #b60000;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.vb-auth-head h2 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 31px;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.vb-auth-head p {
    max-width: 440px;
    margin: 0 auto;
    color: #7b8794;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
}

.vb-auth-alert {
    margin-bottom: 17px;
    padding: 13px 14px;
    border-radius: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.vb-auth-alert i {
    margin-top: 1px;
    font-size: 16px;
}

.vb-auth-alert div {
    display: grid;
    gap: 3px;
}

.vb-auth-alert-success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.vb-auth-alert-danger {
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #991b1b;
}

.vb-auth-form {
    display: grid;
    gap: 15px;
}

.vb-auth-field {
    display: grid;
    gap: 8px;
}

.vb-auth-field label {
    color: #202833;
    font-size: 12.5px;
    font-weight: 750;
}

.vb-auth-input {
    position: relative;
    min-height: 51px;
    border: 1px solid #dde5ee;
    border-radius: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}

.vb-auth-input:focus-within {
    border-color: rgba(182, 0, 0, 0.42);
    box-shadow: 0 0 0 4px rgba(182, 0, 0, 0.08);
    background: #ffffff;
}

.vb-auth-input > i {
    width: 47px;
    min-width: 47px;
    color: #9aa5b4;
    display: inline-grid;
    place-items: center;
    font-size: 16px;
}

.vb-auth-input input {
    width: 100%;
    height: 49px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 13.5px;
    font-weight: 500;
}

.vb-auth-input input::placeholder {
    color: #a0a8b2;
}

.vb-auth-password-toggle {
    width: 44px;
    min-width: 44px;
    height: 49px;
    border: 0;
    background: transparent;
    color: #9aa5b4;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition: color 200ms ease;
}

.vb-auth-password-toggle:hover {
    color: #b60000;
}

.vb-auth-options {
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vb-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #687385;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}

.vb-auth-check input {
    width: 15px;
    height: 15px;
    accent-color: #b60000;
}

.vb-auth-options a {
    color: #b60000;
    font-size: 12.5px;
    font-weight: 750;
    text-decoration: none;
}

.vb-auth-options a:hover {
    text-decoration: underline;
}

.vb-auth-submit {
    width: 100%;
    height: 52px;
    margin-top: 2px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #d10000, #b60000);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(182, 0, 0, 0.18);
    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}

.vb-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 38px rgba(182, 0, 0, 0.22);
    background: linear-gradient(180deg, #c00000, #980000);
}

.vb-auth-submit:active {
    transform: translateY(0);
}

.vb-auth-legal-text {
    margin-top: 2px;
    padding: 13px 14px;
    border-radius: 15px;
    background: #f8fafc;
    color: #758195;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.55;
}

.vb-auth-legal-text a {
    color: #b60000;
    font-weight: 750;
    text-decoration: none;
}

.vb-auth-legal-text a:hover {
    text-decoration: underline;
}

.vb-auth-switch {
    margin-top: 19px;
    padding-top: 18px;
    border-top: 1px solid #edf1f5;
    display: flex;
    justify-content: center;
    gap: 7px;
    color: #7b8794;
    font-size: 13px;
    font-weight: 600;
}

.vb-auth-switch a {
    color: #b60000;
    font-weight: 850;
    text-decoration: none;
}

.vb-auth-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 620px) {
    .vb-auth-page {
        padding: 30px 0 48px;
    }

    .vb-auth-layout {
        max-width: 100%;
    }

    .vb-auth-card {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .vb-auth-card::before {
        left: 24px;
        right: 24px;
    }

    .vb-auth-head h2 {
        font-size: 26px;
    }

    .vb-auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .vb-auth-switch {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
/* AUTH SAYFASI - ÜST ALANI KOMPAKT HALE GETİRME */

.vb-auth-page {
    padding: 34px 0 54px !important;
    min-height: auto !important;
}

.vb-auth-layout {
    max-width: 560px !important;
}

.vb-auth-card {
    padding: 26px 32px 30px !important;
    border-radius: 24px !important;
}

.vb-auth-card::before {
    left: 42px !important;
    right: 42px !important;
    height: 4px !important;
}

.vb-auth-brand {
    margin-bottom: 14px !important;
    text-align: center !important;
}

.vb-auth-logo strong {
    font-size: 18px !important;
    font-weight: 800 !important;
}

.vb-auth-logo span {
    margin-top: 2px !important;
    font-size: 11.5px !important;
}

.vb-auth-head {
    margin-bottom: 18px !important;
    text-align: center !important;
}

.vb-auth-head > span {
    margin-bottom: 7px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.8px !important;
}

.vb-auth-head h2 {
    margin-bottom: 7px !important;
    font-size: 28px !important;
    line-height: 1.05 !important;
}

.vb-auth-head p {
    max-width: 400px !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
}

.vb-auth-form {
    gap: 13px !important;
}

.vb-auth-field {
    gap: 7px !important;
}

.vb-auth-input {
    min-height: 48px !important;
    border-radius: 14px !important;
}

.vb-auth-input input {
    height: 46px !important;
}

.vb-auth-input > i {
    width: 44px !important;
    min-width: 44px !important;
}

.vb-auth-password-toggle {
    height: 46px !important;
}

.vb-auth-submit {
    height: 49px !important;
    border-radius: 14px !important;
}

.vb-auth-switch {
    margin-top: 15px !important;
    padding-top: 15px !important;
}

.vb-auth-legal-text {
    padding: 11px 13px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

/* Üye ol sayfasında alanlar fazla olduğu için biraz daha kompakt */
.vb-auth-register-page .vb-auth-card {
    padding-top: 24px !important;
}

.vb-auth-register-page .vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-register-page .vb-auth-head {
    margin-bottom: 15px !important;
}

.vb-auth-register-page .vb-auth-head h2 {
    font-size: 26px !important;
}

.vb-auth-register-page .vb-auth-form {
    gap: 11px !important;
}

@media (max-width: 620px) {
    .vb-auth-page {
        padding: 22px 0 38px !important;
    }

    .vb-auth-card {
        padding: 22px 18px 24px !important;
        border-radius: 20px !important;
    }

    .vb-auth-card::before {
        left: 28px !important;
        right: 28px !important;
    }

    .vb-auth-head h2 {
        font-size: 24px !important;
    }

    .vb-auth-head p {
        font-size: 12.5px !important;
    }
}
/* AUTH LOGIN - SADE VE KOMPAKT ÜST ALAN */

.vb-auth-page {
    padding: 30px 0 48px !important;
}

.vb-auth-layout {
    max-width: 520px !important;
}

.vb-auth-info {
    display: none !important;
}

.vb-auth-card {
    padding: 26px 30px 30px !important;
}

.vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-logo strong {
    font-size: 18px !important;
}

.vb-auth-logo span,
.vb-auth-head p {
    display: none !important;
}

.vb-auth-head {
    margin-bottom: 18px !important;
}

.vb-auth-head > span {
    margin-bottom: 6px !important;
}

.vb-auth-head h2 {
    margin-bottom: 0 !important;
    font-size: 27px !important;
}

@media (max-width: 620px) {
    .vb-auth-page {
        padding: 22px 0 38px !important;
    }

    .vb-auth-card {
        padding: 22px 18px 24px !important;
    }

    .vb-auth-head h2 {
        font-size: 24px !important;
    }
}
/* AUTH VALIDATION - TOAST + INPUT SHAKE */

.vb-auth-input.is-invalid {
    border-color: #dc2626 !important;
    background: #fff7f7 !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08) !important;
}

.vb-auth-input.is-invalid > i,
.vb-auth-input.is-invalid .vb-auth-password-toggle {
    color: #dc2626 !important;
}

.vb-auth-input.is-invalid input {
    color: #991b1b !important;
}

.vb-auth-input.vb-auth-shake {
    animation: vbAuthShake 420ms ease;
}

@keyframes vbAuthShake {
    0%, 100% {
        transform: translateX(0);
    }

    18% {
        transform: translateX(-7px);
    }

    36% {
        transform: translateX(7px);
    }

    54% {
        transform: translateX(-5px);
    }

    72% {
        transform: translateX(5px);
    }
}

/* SweetAlert yoksa kullanılacak fallback toast */

.vb-auth-toast-stack {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 99999;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 28px));
    pointer-events: none;
}

.vb-auth-toast {
    position: relative;
    min-height: 54px;
    padding: 13px 15px 13px 44px;
    border: 1px solid rgba(220, 38, 38, 0.22);
    border-radius: 16px;
    background: #ffffff;
    color: #202833;
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.16);
    overflow: hidden;
    transform: translateX(16px);
    opacity: 0;
    animation: vbAuthToastIn 240ms ease forwards;
}

.vb-auth-toast::before {
    content: "\F33A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 13px;
}

.vb-auth-toast strong {
    display: block;
    margin-bottom: 3px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.vb-auth-toast span {
    display: block;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}

.vb-auth-toast.is-leaving {
    animation: vbAuthToastOut 220ms ease forwards;
}

@keyframes vbAuthToastIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes vbAuthToastOut {
    to {
        opacity: 0;
        transform: translateX(16px);
    }
}

@media (max-width: 620px) {
    .vb-auth-toast-stack {
        top: 14px;
        right: 14px;
        left: 14px;
        width: auto;
    }
}
/* ÜYE OL SAYFASI - DAHA KOMPAKT FORM */

.vb-auth-register-page .vb-auth-layout {
    max-width: 560px !important;
}

.vb-auth-register-page .vb-auth-card {
    padding-top: 24px !important;
    padding-bottom: 26px !important;
}

.vb-auth-register-page .vb-auth-brand {
    margin-bottom: 10px !important;
}

.vb-auth-register-page .vb-auth-head {
    margin-bottom: 15px !important;
}

.vb-auth-register-page .vb-auth-head h2 {
    font-size: 25px !important;
}

.vb-auth-register-page .vb-auth-form {
    gap: 11px !important;
}

.vb-auth-register-page .vb-auth-input {
    min-height: 46px !important;
}

.vb-auth-register-page .vb-auth-input input {
    height: 44px !important;
}

.vb-auth-register-page .vb-auth-password-toggle {
    height: 44px !important;
}

.vb-auth-register-page .vb-auth-submit {
    height: 48px !important;
}

.vb-auth-register-page .vb-auth-legal-text {
    margin-top: 0 !important;
    padding: 10px 12px !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}
/* ŞİFREMİ UNUTTUM SAYFASI */

.vb-auth-forgot-page .vb-auth-layout {
    max-width: 520px !important;
}

.vb-auth-forgot-page .vb-auth-card {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
}

.vb-auth-forgot-page .vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-forgot-page .vb-auth-head {
    margin-bottom: 18px !important;
}

.vb-auth-forgot-page .vb-auth-head h2 {
    font-size: 26px !important;
}

.vb-auth-forgot-page .vb-auth-head p {
    display: block !important;
    max-width: 360px !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
}
/* ŞİFRE DOĞRULAMA SAYFASI */

.vb-auth-confirm-page .vb-auth-layout {
    max-width: 520px !important;
}

.vb-auth-confirm-page .vb-auth-card {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
}

.vb-auth-confirm-page .vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-confirm-page .vb-auth-head {
    margin-bottom: 18px !important;
}

.vb-auth-confirm-page .vb-auth-head h2 {
    font-size: 26px !important;
}

.vb-auth-confirm-page .vb-auth-head p {
    display: block !important;
    max-width: 360px !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
}
/* ŞİFRE YENİLEME SAYFASI */

.vb-auth-reset-page .vb-auth-layout {
    max-width: 540px !important;
}

.vb-auth-reset-page .vb-auth-card {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
}

.vb-auth-reset-page .vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-reset-page .vb-auth-head {
    margin-bottom: 18px !important;
}

.vb-auth-reset-page .vb-auth-head h2 {
    font-size: 26px !important;
}

.vb-auth-reset-page .vb-auth-head p {
    display: block !important;
    max-width: 360px !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
}

.vb-auth-reset-page .vb-auth-form {
    gap: 12px !important;
}
/* İKİ AŞAMALI DOĞRULAMA SAYFASI */

.vb-auth-two-factor-page .vb-auth-layout {
    max-width: 540px !important;
}

.vb-auth-two-factor-page .vb-auth-card {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
}

.vb-auth-two-factor-page .vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-two-factor-page .vb-auth-head {
    margin-bottom: 18px !important;
}

.vb-auth-two-factor-page .vb-auth-head h2 {
    font-size: 26px !important;
}

.vb-auth-two-factor-page .vb-auth-head p {
    display: block !important;
    max-width: 380px !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
}

.vb-auth-two-factor-actions {
    margin-top: -2px;
    display: flex;
    justify-content: flex-end;
}

.vb-auth-text-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #b60000;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.4;
    cursor: pointer;
    text-decoration: none;
}

.vb-auth-text-button:hover {
    text-decoration: underline;
}

.vb-auth-hidden {
    display: none !important;
}
/* E-POSTA DOĞRULAMA SAYFASI */

.vb-auth-verify-page .vb-auth-layout {
    max-width: 540px !important;
}

.vb-auth-verify-page .vb-auth-card {
    padding-top: 26px !important;
    padding-bottom: 30px !important;
}

.vb-auth-verify-page .vb-auth-brand {
    margin-bottom: 12px !important;
}

.vb-auth-verify-page .vb-auth-head {
    margin-bottom: 18px !important;
}

.vb-auth-verify-page .vb-auth-head h2 {
    font-size: 26px !important;
}

.vb-auth-verify-page .vb-auth-head p {
    display: block !important;
    max-width: 390px !important;
    font-size: 12.8px !important;
    line-height: 1.45 !important;
}

.vb-auth-info-box {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    background: #f8fafc;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vb-auth-info-box > i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 999px;
    background: #fff1f2;
    color: #b60000;
    display: grid;
    place-items: center;
    font-size: 17px;
}

.vb-auth-info-box strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.25;
}

.vb-auth-info-box span {
    display: block;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
}

.vb-auth-verify-actions {
    display: grid;
    gap: 14px;
}

.vb-auth-inline-form {
    margin: 0;
}

.vb-auth-secondary-actions {
    padding-top: 14px;
    border-top: 1px solid #edf1f5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vb-auth-secondary-actions a,
.vb-auth-secondary-actions button {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #e3e8ef;
    border-radius: 999px;
    background: #ffffff;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        color 180ms ease,
        background 180ms ease;
}

.vb-auth-secondary-actions a:hover,
.vb-auth-secondary-actions button:hover {
    border-color: rgba(182, 0, 0, 0.25);
    background: #fff7f7;
    color: #b60000;
}

.vb-auth-secondary-actions form {
    margin: 0;
}

@media (max-width: 620px) {
    .vb-auth-secondary-actions {
        gap: 9px;
    }

    .vb-auth-secondary-actions a,
    .vb-auth-secondary-actions button {
        width: 100%;
    }
}
