@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
    box-sizing: border-box;
}
body.lv2-body input,
body.lv2-body button,
body.lv2-body select,
body.lv2-body textarea {
    font-family: inherit;
}
body.lv2-body {
    min-height: 100vh;
    background-color: #2E31AD;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    overflow-x: hidden;
    padding: 24px 16px;
    margin: 0;
}
/* Animated floating background shapes */
.lv2-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    margin: 0;
    padding: 0;
}
.lv2-circles li {
    position: absolute;
    display: block;
    list-style: none;
    background: rgba(255, 255, 255, 0.15);
    animation: lv2-float 25s linear infinite;
    bottom: -150px;
    border-radius: 10%;
}
.lv2-circles li:nth-child(1)  { left: 25%; width: 80px;  height: 80px;  animation-delay: 0s;  }
.lv2-circles li:nth-child(2)  { left: 10%; width: 20px;  height: 20px;  animation-delay: 2s;  animation-duration: 12s; }
.lv2-circles li:nth-child(3)  { left: 70%; width: 20px;  height: 20px;  animation-delay: 4s;  }
.lv2-circles li:nth-child(4)  { left: 40%; width: 60px;  height: 60px;  animation-delay: 0s;  animation-duration: 18s; }
.lv2-circles li:nth-child(5)  { left: 65%; width: 20px;  height: 20px;  animation-delay: 0s;  }
.lv2-circles li:nth-child(6)  { left: 75%; width: 110px; height: 110px; animation-delay: 3s;  }
.lv2-circles li:nth-child(7)  { left: 35%; width: 150px; height: 150px; animation-delay: 7s;  }
.lv2-circles li:nth-child(8)  { left: 50%; width: 25px;  height: 25px;  animation-delay: 15s; animation-duration: 45s; }
.lv2-circles li:nth-child(9)  { left: 20%; width: 15px;  height: 15px;  animation-delay: 2s;  animation-duration: 35s; }
.lv2-circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s;  animation-duration: 11s; }

@keyframes lv2-float {
    0%   { transform: translateY(0px)     rotate(0deg);   opacity: 1; border-radius: 10%; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 40%; }
}

/* Page wrapper ? card + fixed bottom sections */
.lv2-page-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: auto 0;
}
/* Login card */
.login_v2-card {
    background: #fff;
    border-radius: 12px;
    width: 440px;
    min-width: 440px;
    height: 360px;
    padding: 16px 32px;
    box-shadow: rgba(164, 167, 182, 0.1) 0px 0px 10px 0px;
}
.login_v2-card.login_v2-card-step2 {
    height: 400px;
}
.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.login-logo img {
    width: 300px;
    max-width: 100%;
    height: auto;
}
.login-steps {
    display: none;
}
.login-steps.login-step-active {
    display: block;
}
.login-steps-title {
    font-size: 24px;
    font-weight: 700;
    color: #2E31AD;
    height: 30px;
}
.login-steps-desc {
    font-size: 14px;
    font-weight: 400;
    color: #19194D;
    margin: 8px 0;
    line-height: 20px;
    width: 315px;
}
.login-steps-desc strong {
    font-weight: 700;
}
.input-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #C9CED8;
    padding: 12px;
    transition: border-color 0.2s;
    height: 58px;
    margin: 12px 0;
}
.input-row:focus-within {
    border-color: #2E31AD;
}
.input-row .login-input-icon {
    color: #2E31AD;
    font-size: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}
/* Icon font glyph'i yerine tasarim asset'i kullanilan alanlar (ornek: kilit) */
.input-row .login-input-icon-img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}
.input-row input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #1F2937;
    background: transparent;
    padding: 0;
}
.input-row input::placeholder {
    color: #888BA3;
}
/* Autofill: kill the UA stylesheet's blue/yellow background (:-internal-autofill-selected) */
.input-row input:-webkit-autofill,
.input-row input:-webkit-autofill:hover,
.input-row input:-webkit-autofill:focus,
.input-row input:-webkit-autofill:active,
.input-row input:autofill {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #1F2937;
    caret-color: #1F2937;
    /* UA repaints the background after the transition; never let it finish */
    transition: background-color 100000s ease-in-out 0s;
}
.input-row.login-disabled input:-webkit-autofill,
.input-row.login-disabled input:autofill {
    -webkit-text-fill-color: #6B7280;
}
/* Alan bazli hata mesaji - ilgili input'un hemen altinda, kutu/ikon yok */
.field-error {
    display: none;
    font-size: 12px;
    font-weight: 400;
    color: #DA1414;
    line-height: 16px;
    margin: 12px 0;
    padding: 0 12px;
}
.field-error.show {
    display: block;
}
.login-btn-primary {
    width: 208px;
    height: 48px;
    background: #FF7F57;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 12px auto;
    transition: background 0.2s;
}
.login-btn-primary:hover {
    background: #f06a40;
}
.login-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.login-btn-primary .login-btn-arrow {
    font-size: 14px;
}
/* Back button ? outside the card on blue bg */
.back-btn {
    display: none;
    align-self: flex-start;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 0 4px 0;
}
.back-btn.show {
    display: inline-flex;
}
.back-btn:hover {
    opacity: 0.8;
}
/* Disabled username row in step 2 */
.input-row.login-disabled {
    background: #F3F4F6;
    border-bottom-color: transparent;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    cursor: default;
}
.input-row.login-disabled input {
    background: transparent;
    color: #6B7280;
    cursor: default;
}
/* Links below button */
.card-links {
    text-align: center;
}
.card-links a {
    font-size: 12px;
    color: #A1A5B9;
    text-decoration: none;
}
.card-links a:hover {
    color: #2E31AD; text-decoration: underline;
}
.card-links-row {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}
.card-links-row a {
    font-size: 12px;
    color: #A1A5B9;
    text-decoration: none;
}
.card-links-row a:hover {
    color: #2E31AD; text-decoration: underline;
}
/* Card footer text */
.card-footer {
    font-size: 12px;
    color: #A1A5B9;
    text-align: center;
    line-height: 1.5;
    border: none;
    padding: 0.75rem 0;
    background-color: transparent;
}
.card-footer a,
.footer-link {
    color: #2E31AD;
    text-decoration: none;
    font-weight: 500;
}
.card-footer a:hover,
.footer-link:hover {
    color: #2E31AD;
    text-decoration: underline;
}
/* Maas hesaplama karti (login karti ile hrwe bolumu arasinda) */
.wage-card-container {
    display: flex;
    justify-content: center;
}
.wage-card {
    background: #fff;
    border-radius: 12px;
    width: 440px;
    max-width: 100%;
    min-height: 64px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #EEEEEE;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.15);
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
.wage-card:hover,
.wage-card:focus {
    text-decoration: none;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.22);
    transform: translateY(-1px);
}
.wage-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2E31AD;
}
.wage-icon svg {
    width: 100%;
    height: 100%;
}
.wage-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.wage-title {
    font-size: 18px;
    color: #2E31AD;
    line-height: 1.25;
    font-family: 'Outfit', sans-serif;
}
.wage-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #6B7280;
    margin-top: 2px;
    line-height: 1.3;
    font-family: 'Outfit', sans-serif;
}
.wage-arrow {
    color: #2E31AD;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.wage-card:hover .wage-arrow {
    transform: translateX(3px);
}
/* HRWE pill below maas card */
.hrwe-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hrwe-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.9);
    text-align: center;
}
.hrwe-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
    border: 1.5px solid rgba(255,255,255,1);
    border-radius: 200px;
    padding: 0 20px;
    gap: 0;
    width: 80%;
}
.hrwe-pill a {
    display: flex;
    align-items: center;
    padding: 0 12px;
}
.hrwe-pill img {
    height: 40px;
}
.hrwe-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.45);
}
.sdx-bottom {
    display: flex;
    justify-content: center;
    padding: 8px;
}
.sdx-bottom img {
    height: 28px;
    filter: brightness(0) invert(1);
}
.lv2-lang {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 50;
}
.lv2-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s;
}
.lv2-lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lv2-lang-icon {
    font-size: 16px;
    font-weight: 400;
}
.lv2-lang-code {
    font-size: 12px;
    font-weight: 700;
}
.lv2-lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 128px;
    margin-top: 8px;
    padding: 4px 0;
    background: #fff;
    border: 1px solid #E4E6EE;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}
.lv2-lang.lv2-lang-open .lv2-lang-menu {
    display: block;
}
.lv2-lang-item {
    display: block;
    padding: 8px 16px;
    font-size: 12px;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s;
}
.lv2-lang-item:hover {
    background: rgba(46, 49, 173, 0.1);
    color: #374151;
    text-decoration: none;
}
.lv2-lang-item.lv2-lang-item-active {
    color: #2E31AD;
    font-weight: 700;
}
@media (min-width: 640px) {
    .lv2-lang {
        top: 24px;
        right: 24px;
    }
}
/* Kullanici adi/SSO kontrolu sirasinda gosterilen tam ekran loading overlay */
.notiflix-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notiflix-loading.with-animation {
    animation: notiflix-loading-fade 400ms ease;
}
@keyframes notiflix-loading-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.notiflix-loading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}/* ===================== Kullanici Adimi Unuttum (Forgot Username) ===================== */
.lv2-page {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.lv2-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}
.lv2-back-btn:hover {
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
}
.lv2-card {
    background: #fff;
    border-radius: 16px;
    width: 455px;
    max-width: 100%;
    padding: 32px 42px;
    box-shadow: rgba(164, 167, 182, 0.1) 0px 0px 10px 0px;
}
.lv2-card.lv2-card-compact {
    padding-top: 20px;
    padding-bottom: 20px;
}
.lv2-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.lv2-logo img {
    width: 300px;
    max-width: 100%;
    height: auto;
}
.step-title {
    font-size: 24px;
    font-weight: 700;
    color: #2E31AD;
}
.step-desc {
    font-size: 14px;
    font-weight: 400;
    color: #19194D;
    margin: 8px 0;
    line-height: 20px;
}
.lv2-success-msg {
    font-size: 16px;
    font-weight: 400;
    color: #19194D;
    text-align: left;
    line-height: 1.5;
    margin: 32px 0;
}
.lv2-btn-primary {
    width: 208px;
    height: 48px;
    background: #FF7F57;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0 auto;
    transition: background 0.2s;
}
.lv2-btn-primary:hover {
    background: #f06a40;
    color: #fff;
}
.lv2-card-footer {
    margin-top: 24px;
    font-size: 12px;
    color: #A1A5B9;
    text-align: center;
    line-height: 1.5;
}
.lv2-card-footer a {
    color: #2E31AD;
    text-decoration: none;
    font-weight: 500;
}
.lv2-card-footer a:hover {
    text-decoration: underline;
}
/* ===================== SMS OTP Dogrulama ===================== */
.otp-label {
    font-size: 14px;
    font-weight: 500;
    color: #19194D;
    margin-bottom: 10px;
}
.otp-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
}
.otp-box {
    flex: 1 1 0;
    min-width: 0;
    max-width: 52px;
    aspect-ratio: 1 / 1;
    border: 1px solid #C9CED8;
    border-radius: 10px;
    outline: none;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #19194D;
    transition: border-color 0.2s;
}
.otp-box:focus {
    border-color: #2E31AD;
}
.otp-box.error {
    border-color: #DA1414;
}
/* OTP hatasi - kutu satirinin hemen altinda, kutularla ayni hizada */
#otp-error {
    padding: 0;
    margin: -16px 0 20px;
}
.otp-resend {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background: #F3F4F6;
    border-radius: 200px;
    padding: 8px 16px;
    margin: 16px auto 0;
    font-size: 13px;
    color: #A1A5B9;
}
.otp-resend .fa-redo {
    font-size: 13px;
}
.otp-resend a {
    color: #A1A5B9;
    text-decoration: none;
    cursor: default;
}
.otp-resend a.active {
    color: #2E31AD;
    cursor: pointer;
}
.otp-resend a.active:hover {
    text-decoration: underline;
}

/* infobox */
.infobox {
    display: none;
    position: absolute;
    right: 0;
    top: 32px;
    z-index: 10;
    background-color: #F3EEF1;
    width: 204px;
    border-radius: 4px;
    padding: 4px 8px;
    color: #000;
    font-size: 12px;
    filter: drop-shadow(0px 4px 4px rgba(0,0,0,0.25));
}

/* Sifre degistirme (v2): kullanici adi bir onceki ekrandan geldigi icin salt okunur -
   tasarimdaki alt cizgili gorunum korunuyor, sadece metin soluk. */
.input-row.lv2-readonly input {
    color: #6B7280;
    cursor: default;
}
/* Sifre alanlarindaki goster/gizle (goz) ikonu */
.input-row .showhidepass {
    color: #888BA3;
    font-size: 20px;
    line-height: 1;
    margin-left: 8px;
    flex-shrink: 0;
    text-decoration: none;
}
.input-row .showhidepass:hover {
    color: #2E31AD;
}

/* Sifre guvenlik gostergesi: 4 segment, zayiftan gucluye kirmizi -> sari -> yesil */
.lv2-strength {
    padding: 8px 12px 0;
}
.lv2-strength-bars {
    display: flex;
    gap: 6px;
}
.lv2-strength-seg {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #E5E7EB;
    transition: background 0.2s;
}
.lv2-strength-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    min-height: 16px;
}
.lv2-strength-hint {
    color: #6B7280;
}
.lv2-strength-label {
    font-weight: 600;
    white-space: nowrap;
}
.lv2-strength.lv2-strength-1 .lv2-strength-seg:nth-child(-n+1) { background: #E5343D; }
.lv2-strength.lv2-strength-2 .lv2-strength-seg:nth-child(-n+2) { background: #F5A623; }
.lv2-strength.lv2-strength-3 .lv2-strength-seg:nth-child(-n+3) { background: #8CC63F; }
.lv2-strength.lv2-strength-4 .lv2-strength-seg:nth-child(-n+4) { background: #2FA84F; }
.lv2-strength.lv2-strength-1 .lv2-strength-label { color: #E5343D; }
.lv2-strength.lv2-strength-2 .lv2-strength-label { color: #F5A623; }
.lv2-strength.lv2-strength-3 .lv2-strength-label { color: #8CC63F; }
.lv2-strength.lv2-strength-4 .lv2-strength-label { color: #2FA84F; }
