/* Bindiy login: connected business illustration and accessible form. */
* { box-sizing: border-box; }
body { margin: 0; color: #17212f; font-family: 'Inter', sans-serif; background: #fff; }
[v-cloak] { display: none !important; }
.login-layout { display: grid; grid-template-columns: 60% 40%; min-height: 100vh; min-height: 100dvh; }
.login-brand { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 58px clamp(32px, 4vw, 76px) 36px; color: #fff; background: #042f2e; }
.login-brand::before, .login-brand::after { content: ''; position: absolute; z-index: -1; width: 660px; height: 660px; border-radius: 50%; pointer-events: none; background: linear-gradient(140deg, #12665f60, #0a494330); }
.login-brand::before { top: -490px; right: -170px; }
.login-brand::after { bottom: -490px; left: -270px; }
.login-wordmark { display: flex; align-items: center; gap: 12px; font-size: 34px; font-weight: 700; letter-spacing: -1.2px; }
.login-wordmark img { width: 44px; height: 44px; object-fit: contain; }
.login-wordmark sup { font-size: 9px; letter-spacing: 0; vertical-align: top; position: relative; top: 8px; margin-left: 3px; }
.login-brand-content { flex: 1; display: flex; align-items: center; position: relative; min-height: 530px; }
.login-brand-copy { position: relative; z-index: 1; width: 53%; padding-bottom: 28px; }
.login-brand-copy h2 { font-size: clamp(42px, 4.2vw, 76px); font-weight: 800; line-height: 1.08; letter-spacing: -2.8px; margin: 0 0 28px; }
.login-brand-copy h2 span { color: #66ead1; }
.login-brand-copy p { color: #c0d5d2; font-size: clamp(16px, 1.3vw, 22px); line-height: 1.65; margin: 0; }
.login-brand-rule { display: block; width: 62px; height: 4px; background: #42dfc4; margin-top: 42px; }
.login-illustration { position: absolute; width: 64%; max-width: 680px; height: auto; right: -7%; top: 50%; transform: translateY(-50%); mask-image: radial-gradient(ellipse at center, #000 53%, transparent 73%); }
.login-brand-footer { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; color: #a9c9c4; }
.login-brand-footer span { display: flex; align-items: center; gap: 8px; }
.login-brand-footer i { color: #64d7c2; }
.login-form-panel { display: flex; align-items: center; justify-content: center; padding: 64px clamp(30px, 4vw, 80px); }
.login-form-content { width: 100%; max-width: 440px; }
.login-logo { display: block; width: 180px; height: auto; margin: 0 auto 32px; }
.login-heading { text-align: center; margin-bottom: 48px; }
.login-heading h1 { margin: 0 0 12px; font-size: clamp(25px, 2.1vw, 36px); line-height: 1.25; font-weight: 750; letter-spacing: -1.2px; }
.login-heading p { margin: 0; color: #76808e; font-size: 15px; line-height: 1.6; }
.login-field { margin-bottom: 24px; }
.login-field label { display: block; margin-bottom: 10px; color: #596372; font-size: 12px; line-height: 1.5; text-transform: uppercase; font-weight: 700; letter-spacing: .35px; }
.login-input-wrap { position: relative; }
.login-input-wrap > i { position: absolute; top: 50%; left: 18px; transform: translateY(-50%); color: #89929d; font-size: 15px; pointer-events: none; }
.login-input-wrap input { width: 100%; height: 56px; padding: 0 48px 0 46px; border: 1px solid #dce1e7; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: #24333b; outline: none; transition: border-color .18s, box-shadow .18s; }
.login-input-wrap input::placeholder { color: #8a93a0; }
.login-input-wrap input:focus { border-color: #169c88; box-shadow: 0 0 0 3px #12a18b16; }
.login-input-wrap input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px white inset; -webkit-text-fill-color: #24333b; }
.login-password-toggle { position: absolute; top: 6px; right: 5px; width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: #7c8793; cursor: pointer; }
.login-password-toggle:hover { color: #06685b; background: #f0f8f6; }
.login-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 5px 0 30px; font-size: 12px; }
.login-options label { display: flex; align-items: center; gap: 8px; color: #687280; cursor: pointer; min-height: 28px; }
.login-options input { width: 17px; height: 17px; accent-color: #087564; cursor: pointer; }
.login-options a, .login-support a { color: #087564; text-decoration: none; }
.login-options a:hover, .login-support a:hover { text-decoration: underline; }
.login-submit { width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 8px; background: linear-gradient(110deg, #042f2e, #075149); box-shadow: 0 4px 9px #042f2e15; font: inherit; font-size: 16px; font-weight: 600; color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.login-submit:hover:not(:disabled) { background: #086356; transform: translateY(-1px); }
.login-submit:disabled { opacity: .7; cursor: wait; }
.login-support { margin: 28px 0 0; text-align: center; color: #7c8592; font-size: 12px; line-height: 1.8; }
.login-support span { color: #677481; }
.login-error { margin: -8px 0 20px; padding: 12px 14px; background: #fff4f2; border: 1px solid #f4d4cf; border-radius: 8px; color: #a23426; font-size: 13px; line-height: 1.5; }
button:focus-visible, a:focus-visible, input[type=checkbox]:focus-visible { outline: 3px solid #20b8a1; outline-offset: 4px; }
@media (max-width: 1200px) and (min-width: 901px) {
    .login-layout { grid-template-columns: 54% 46%; }
    .login-brand-content { align-items: flex-start; justify-content: center; flex-direction: column; padding-bottom: 260px; }
    .login-brand-copy { width: 100%; padding: 30px 0 0; }
    .login-brand-copy h2 { font-size: 48px; }
    .login-brand-rule { margin-top: 22px; }
    .login-illustration { width: 340px; top: auto; bottom: -30px; right: -20px; transform: none; }
    .login-brand-footer { gap: 14px; font-size: 10px; }
}
@media (max-width: 900px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-brand { padding: 24px 28px; }
    .login-wordmark { font-size: 25px; gap: 8px; }
    .login-wordmark img { width: 34px; height: 34px; }
    .login-brand-content { min-height: 170px; }
    .login-brand-copy { width: 65%; padding: 22px 0 0; }
    .login-brand-copy h2 { font-size: 36px; letter-spacing: -1.3px; margin-bottom: 14px; }
    .login-brand-copy p { font-size: 13px; }
    .login-brand-rule, .login-brand-footer { display: none; }
    .login-illustration { width: 250px; right: -38px; }
    .login-form-panel { padding: 36px 24px 44px; }
    .login-logo { display: none; }
    .login-heading { margin-bottom: 30px; }
    .login-heading h1 { font-size: 27px; }
    .login-field { margin-bottom: 20px; }
}
@media (max-width: 600px) {
    .login-illustration { display: none; }
    .login-brand-copy { width: 100%; }
    .login-brand-content { min-height: 154px; }
    .login-brand-copy h2 br { display: none; }
    .login-brand-copy h2 span { display: block; }
}
@media (max-width: 380px) {
    .login-brand { padding: 20px; }
    .login-brand-copy h2 { font-size: 30px; }
    .login-brand-copy p { font-size: 12px; }
    .login-illustration { width: 210px; right: -52px; }
    .login-options { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
