/* Legacy yonetim giris sayfasi (Areas/YoneticiGirisi/Views/Login/Index.cshtml) */

html, body {
    height: 100%;
}

body.login-modern {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #0f172a;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100vh;
}

.login-card {
    width: 360px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(2, 6, 23, .45);
    padding: 34px 34px 26px;
    box-sizing: border-box;
}

.login-brand {
    text-align: center;
    margin-bottom: 6px;
}

.login-brand img {
    width: 150px;
    height: auto;
}

.login-title {
    text-align: center;
    margin-bottom: 22px;
}

.login-title h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    word-break: break-all;
}

.login-title span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #64748b;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.login-title h2 .login-domain {
    display: inline;
    margin-top: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: inherit;
    color: inherit;
}

.login-card .form-field {
    margin-bottom: 12px;
}

.login-card input[type="text"],
.login-card input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    padding: 9px 13px;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    box-shadow: none;
    margin: 0;
    -webkit-transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.login-card input[type="text"]:focus,
.login-card input[type="password"]:focus {
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
    outline: 0;
}

.captcha-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.captcha-row img {
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    cursor: pointer;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

#btnLogin {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .35);
    -webkit-transition: background .15s ease, box-shadow .15s ease;
    transition: background .15s ease, box-shadow .15s ease;
}

#btnLogin:hover {
    background: #1d4ed8;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .45);
}

#btnLogin[disabled] {
    background: #93c5fd;
    box-shadow: none;
    cursor: not-allowed;
}

.login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 9px;
    padding: 10px 13px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
    text-align: center;
}

.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.login-footer {
    text-align: center;
    margin-top: 18px;
}

.login-footer a {
    font-size: 12.5px;
    color: #64748b;
    text-decoration: none;
}

.login-footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

#loginForm {
    margin: 0;
}
