/* SALONI B2B - yalnızca sl- ön ekli giriş ekranı için */
:root {
    --sl-bg: #fbfbfa;
    --sl-ink: #171a22;
    --sl-secondary: #747882;
    --sl-accent: #252a3d;
    --sl-stroke: #e4e5e8;
}

.sl-auth-layout,
.sl-auth-layout * {
    box-sizing: border-box;
}

.sl-auth-layout {
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 540px;
    overflow: hidden;
    background: var(--sl-bg);
    color: var(--sl-ink);
    font-family: 'Segoe UI', Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.sl-auth-panel {
    position: relative;
    flex: 0 0 52%;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--sl-bg);
    z-index: 2;
}

.sl-login-page {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 3.1vw, 52px) clamp(28px, 6.7vw, 112px) 26px;
}

.sl-brand-header {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 54px;
    gap: 19px;
}

.sl-brand-logo {
    display: block;
    width: 145px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
}

.sl-brand-divider {
    height: 22px;
    width: 1px;
    flex-shrink: 0;
    background: #d8d9dc;
}

.sl-brand-tag {
    color: #8b8f96;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.1px;
    white-space: nowrap;
}

.sl-login-main {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    padding: 36px 0 30px;
}

.sl-login-inner {
    width: min(100%, 440px);
    margin: 0 auto;
}

.sl-eyebrow {
    display: flex;
    gap: 11px;
    align-items: center;
    color: #898d96;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 19px;
}

.sl-eyebrow span {
    width: 23px;
    height: 1px;
    background: #a5aab2;
}

.sl-login-inner h1 {
    margin: 0;
    font-weight: 650;
    color: #171b27;
    font-size: clamp(27px, 2.65vw, 39px);
    letter-spacing: -1.3px;
    line-height: 1.19;
}

.sl-login-inner h1 > span {
    color: #a1a7b3;
}

.sl-intro {
    max-width: 340px;
    margin: 14px 0 38px;
    color: var(--sl-secondary);
    line-height: 1.75;
    font-size: 13.5px;
}

.sl-form-container {
    width: 100%;
}

.sl-form-container form {
    width: 100%;
}

.sl-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 21px;
}

.sl-form-field > label {
    margin-bottom: 9px;
    color: #323640;
    font-size: 12.5px;
    font-weight: 600;
}

/* Radzen TextBox ve Password input stilleri */
.sl-form-field input,
.sl-form-field .rz-inputtext,
.sl-form-field .rz-textbox,
.sl-form-field .rz-password {
    width: 100% !important;
    min-height: 52px;
    background: #fff !important;
    border: 1px solid var(--sl-stroke) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    color: #242734 !important;
    font-family: inherit;
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.sl-form-field input,
.sl-form-field .rz-inputtext {
    padding: 0 16px !important;
}

.sl-form-field input::placeholder {
    color: #a4a8b0;
    opacity: 1;
}

.sl-form-field:focus-within input,
.sl-form-field:focus-within .rz-inputtext {
    border-color: #868c9e !important;
    box-shadow: 0 0 0 3px rgba(75, 84, 114, .075) !important;
    outline: none;
}

.sl-form-field .rz-message {
    font-size: 11px;
}

.sl-sign-in {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 53px;
    margin-top: 10px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    background: var(--sl-accent);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .15px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sl-sign-in:hover:not(:disabled) {
    background: #111626;
    box-shadow: 0 8px 24px rgba(20, 25, 42, .14);
    transform: translateY(-1px);
}

.sl-sign-in:focus-visible {
    outline: 3px solid #a5acc0;
    outline-offset: 3px;
}

.sl-sign-in:disabled {
    opacity: .78;
    cursor: not-allowed;
}

.sl-sign-in-arrow {
    position: absolute;
    right: 20px;
    font-size: 21px;
    font-weight: 300;
    line-height: 1;
}

.sl-button-spinner {
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 2px solid #ffffff65;
    border-top-color: #fff;
    border-radius: 50%;
    animation: sl-spin .7s linear infinite;
    margin-right: 12px;
}

@keyframes sl-spin {
    to { transform: rotate(360deg); }
}

.sl-secure-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #989ba4;
    font-size: 11px;
    line-height: 1.5;
}

.sl-secure-note > span {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    background: #9eb8a6;
    border-radius: 50%;
}

.sl-login-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e9eaec;
    font-size: 10px;
    line-height: 1.8;
    color: #979ba3;
}

.sl-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.sl-login-footer a {
    color: #5c626e;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.sl-login-footer a:hover {
    color: #1b2030;
}

.sl-visual-panel {
    position: relative;
    flex: 1 1 48%;
    overflow: hidden;
    background: #292826;
    isolation: isolate;
}

.sl-carousel-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sl-visual-panel .rz-carousel,
.sl-visual-panel .rz-carousel-items,
.sl-visual-panel .rz-carousel-item,
.sl-visual-panel .rz-carousel-image,
.sl-visual-panel img {
    width: 100%;
    height: 100%;
}

.sl-visual-panel img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.sl-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 14, 18, .36) 0%, rgba(15, 16, 20, .10) 43%, rgba(9, 10, 13, .56) 100%);
}

.sl-visual-headline {
    position: absolute;
    left: clamp(32px, 5vw, 80px);
    right: clamp(22px, 4vw, 70px);
    top: 26%;
    z-index: 2;
    color: #fff;
    pointer-events: none;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .24);
}

.sl-visual-label {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.4px;
    color: #f5f2f0;
}

.sl-visual-label > span {
    height: 1px;
    width: 27px;
    background: #e4dfda;
}

.sl-visual-headline h2 {
    margin: 24px 0 15px;
    font-size: clamp(32px, 3.6vw, 60px);
    font-weight: 450;
    letter-spacing: -1.7px;
    line-height: 1.17;
}

.sl-visual-headline p {
    font-size: 13px;
    letter-spacing: .18px;
    color: #e5e5e4;
    line-height: 1.6;
    margin: 0;
}

.sl-visual-footer {
    position: absolute;
    z-index: 2;
    left: clamp(32px, 5vw, 80px);
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #fff;
    pointer-events: none;
}

.sl-visual-footer > span {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 5px;
}

.sl-visual-footer > small {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 2.8px;
    opacity: .85;
}

/* Carousel sayfa noktalarını sağ alta taşır, başlığı kapatmaz. */
.sl-visual-panel .rz-carousel-indicators {
    left: auto;
    right: 26px;
    bottom: 31px;
}

/* Bildirimler, form üzerine taşmayacak şekilde sağ altta durur. */
.sl-auth-layout ~ .rz-notification,
.rz-notification-message.rz-growl {
    z-index: 3000;
}

@media (max-width: 1050px) {
    .sl-auth-panel { flex-basis: 55%; }
    .sl-login-page { padding-left: clamp(26px, 5vw, 60px); padding-right: clamp(26px, 5vw, 60px); }
    .sl-visual-headline h2 { font-size: clamp(28px, 3.5vw, 43px); }
}

@media (max-width: 850px) {
    .sl-auth-panel { flex-basis: 100%; }
    .sl-visual-panel { display: none; }
    .sl-login-page { width: 100%; max-width: 600px; margin: 0 auto; padding: 26px 30px 24px; }
    .sl-login-inner { width: min(100%, 420px); }
}

@media (max-width: 480px) {
    .sl-auth-layout { min-height: 100dvh; height: 100dvh; }
    .sl-login-page { padding: 20px 23px 21px; }
    .sl-brand-logo { width: 120px; height: 45px; }
    .sl-brand-header { gap: 14px; }
    .sl-brand-tag { font-size: 9px; letter-spacing: 1.5px; }
    .sl-login-main { padding: 46px 0 36px; }
    .sl-login-inner h1 { font-size: 30px; }
    .sl-intro { margin-bottom: 30px; }
    .sl-footer-bottom { gap: 2px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .sl-auth-layout * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
