/* Login page — layout aligned with SafeAspect marketing login */
.sa-login-body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #111827;
    background: #fff;
}

.sa-login-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .sa-login-shell {
        flex-direction: row;
    }
}

/* Left panel */
.sa-login-left {
    display: none;
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    background: #030712;
    color: #fff;
    padding: 3rem;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

@media (min-width: 992px) {
    .sa-login-left {
        display: flex;
    }
}

.sa-login-left-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.sa-login-blur-tr {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

.sa-login-blur-bl {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(220, 38, 38, 0.05);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.sa-login-left-z {
    position: relative;
    z-index: 2;
}

.sa-login-left h2 {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.sa-login-left .sa-login-lead {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.625;
    margin: 0;
}

.sa-login-check-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sa-login-check-row svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: #f87171;
}

.sa-login-check-row span {
    font-size: 0.875rem;
    color: #d1d5db;
}

.sa-login-copy-foot {
    font-size: 0.75rem;
    color: #4b5563;
    margin: 0;
}

/* Right panel */
.sa-login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    min-width: 0;
}

.sa-login-mobile-header {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 1rem 1.5rem;
}

@media (min-width: 992px) {
    .sa-login-mobile-header {
        display: none !important;
    }
}

.sa-login-mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sa-login-mobile-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sa-login-mobile-links button {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.sa-login-mobile-links button:hover {
    color: #111827;
}

.sa-login-form-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.sa-login-form-inner {
    width: 100%;
    max-width: 28rem;
}

.sa-login-form-brand {
    background: transparent;
    border: none;
}

.sa-login-form-logo-img {
    display: block;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    height: auto;
    max-height: 5.25rem;
    object-fit: contain;
}

@media (min-width: 992px) {
    .sa-login-form-logo-img {
        max-width: 26rem;
        max-height: 6rem;
    }
}

.sa-login-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.sa-login-icon-box svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #dc2626;
}

.sa-login-form-inner h1 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #111827;
    margin: 0 0 0.5rem;
}

.sa-login-form-inner .sa-login-sub {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 2rem;
}

.sa-login-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sa-login .sa-input {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.625rem 0.875rem;
}

.sa-login .sa-input:focus {
    border-color: #f87171;
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.12);
    outline: none;
}

.sa-login-pw-wrap {
    position: relative;
}

.sa-login-pw-wrap .sa-input {
    padding-right: 2.75rem;
}

.sa-login-toggle-pw {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    color: #9ca3af;
    cursor: pointer;
    line-height: 0;
}

.sa-login-toggle-pw:hover {
    color: #374151;
}

.sa-login .sa-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    background: #dc2626;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.sa-login .sa-btn-primary:hover {
    background: #b91c1c;
    color: #fff;
}

.sa-login-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.sa-login-or::before,
.sa-login-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #f3f4f6;
}

.sa-login-or span {
    font-size: 0.75rem;
    color: #9ca3af;
}

.sa-login-signup {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.sa-login-signup button {
    font-weight: 700;
    color: #dc2626;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.sa-login-signup button:hover {
    color: #b91c1c;
}

.sa-login-signup a {
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
}

.sa-login-signup a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.sa-login-footer-links {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.sa-login-footer-links button {
    font-size: 0.75rem;
    color: #9ca3af;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.sa-login-footer-links button:hover {
    color: #4b5563;
}

.sa-login-footer-links .dot {
    color: #e5e7eb;
}

.sa-login-alert {
    font-size: 0.875rem;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.sa-login-alert--success {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.sa-login-logo-img {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    background: transparent;
    background-color: transparent;
}

.sa-login-left-logo-link {
    max-width: min(100%, 36rem);
    background: transparent;
    background-color: transparent;
}

/* Yatay lockup: sol panel — şeffaf zemin, daha büyük */
.sa-login-logo-lockup {
    width: 100%;
    max-height: 9.5rem;
    object-position: left center;
}

html[dir="rtl"] .sa-login-logo-lockup {
    object-position: right center;
}

.sa-login-logo-lockup--compact {
    max-height: 3.75rem;
}

.sa-login-mobile-header .sa-login-logo-img {
    max-height: 3.75rem;
}

/* Eski açık zeminli logo sınıfı (geri uyumluluk) */
.sa-login-logo-img--light {
    max-height: 52px;
}

/* Register wizard */
.sa-reg-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #e5e7eb;
    transition: background 0.2s, transform 0.2s;
}

.sa-reg-dot--active {
    background: #dc2626;
    transform: scale(1.15);
}

.sa-reg--full .sa-reg-wiz-only {
    display: none !important;
}

.sa-reg--full .sa-reg-dots {
    display: none !important;
}

.sa-reg-submit-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    background: #dc2626;
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

.sa-reg-submit-full:hover {
    background: #b91c1c;
    color: #fff;
}

.sa-login .sa-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    color: #374151;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.sa-login .sa-btn-outline:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.sa-lang-select {
    font-size: 1.05rem;
    line-height: 1.5;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}
