.tenant-login-page {
    min-height: 100vh;
    background: #f8fafc;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.tenant-login {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.tenant-login__form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #fff;
}

.tenant-login__form-inner {
    width: 100%;
    max-width: 440px;
}

.tenant-login__brand {
    margin-bottom: 1.75rem;
}

.tenant-login__brand img {
    max-height: 72px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.tenant-login__org-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

.tenant-login__org-address {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.tenant-login__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tenant-login__title {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
    line-height: 1.25;
}

.tenant-login__subtitle {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.tenant-login__hint {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.tenant-login__field {
    margin-bottom: 1.15rem;
}

.tenant-login__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.tenant-login__input-wrap {
    position: relative;
}

.tenant-login__input-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.tenant-login__input-wrap .form-control {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9375rem;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tenant-login__input-wrap .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.tenant-login__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
    flex-wrap: wrap;
}

.tenant-login__forgot {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
}

.tenant-login__forgot:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.tenant-login__submit {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.tenant-login__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
    color: #fff !important;
}

.tenant-login__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.65rem 1.15rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tenant-login__register:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
}

.tenant-login__visual {
    flex: 1.05;
    position: relative;
    display: none;
    overflow: hidden;
    min-height: 320px;
}

.tenant-login__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tenant-login__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.78) 0%, rgba(37, 99, 235, 0.55) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: #fff;
}

.tenant-login__visual-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.tenant-login__visual-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 420px;
}

.tenant-login__footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.6;
}

.tenant-login__footer a {
    color: #64748b;
    text-decoration: none;
}

.tenant-login__footer a:hover {
    color: #2563eb;
}

.tenant-login__messages {
    margin-bottom: 1rem;
}

.tenant-login__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 1.25rem;
}

.tenant-login__back:hover {
    color: #2563eb;
}

@media (min-width: 992px) {
    .tenant-login__visual {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .tenant-login__form {
        padding: 1.5rem 1.15rem 2rem;
    }
}
