:root {
    --netspeed-blue: #0099d5;
    --netspeed-blue-dark: #0079ad;
    --ink: #2f4050;
    --muted: #676a6c;
    --border: #e5e6e7;
    --background: #f3f3f4;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--background);
    color: var(--ink);
}

.login-container {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: "NS";
    position: absolute;
    top: 13%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(47, 64, 80, 0.04);
    font-size: min(22vw, 240px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -12px;
    pointer-events: none;
}

.left-panel {
    display: none;
}

.right-panel {
    width: min(360px, 100%);
    position: relative;
    z-index: 1;
}

.login-card {
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none !important;
    text-align: center;
}

.login-logo {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 28px;
}

.login-card h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: 1.12rem;
    font-weight: 700;
}

.login-card p {
    margin: 0 auto 24px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.55;
    max-width: 320px;
}

.form-label {
    display: none;
}

.custom-input {
    border: 1px solid var(--border);
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.custom-input:focus-within {
    border-color: var(--netspeed-blue);
    box-shadow: 0 0 0 2px rgba(0, 153, 213, 0.08);
}

.custom-input .input-group-text {
    display: none;
}

.custom-input .form-control {
    height: 38px;
    border: 0;
    padding: 8px 12px;
    color: var(--ink);
    font-size: .92rem;
    box-shadow: none;
}

.custom-input button {
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0;
    color: var(--muted);
}

.form-control:focus {
    box-shadow: none;
}

.btn-login {
    height: 38px;
    border: 0;
    border-radius: 3px;
    background: var(--netspeed-blue);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
}

.btn-login:hover {
    background: var(--netspeed-blue-dark);
}

.forgot,
.login-card a {
    color: var(--netspeed-blue);
    font-size: .82rem;
    text-decoration: none;
}

.forgot:hover,
.login-card a:hover {
    color: var(--netspeed-blue-dark);
}

.form-check {
    text-align: left;
}

.form-check-label {
    color: var(--muted);
    font-size: .86rem;
}

.form-check-input:checked {
    background-color: var(--netspeed-blue);
    border-color: var(--netspeed-blue);
}

.alert {
    border-radius: 3px;
    text-align: left;
    font-size: .9rem;
}

::placeholder {
    color: #8f969c !important;
}

@media (max-width: 576px) {
    .login-container {
        padding: 24px 18px;
    }

    .login-logo {
        width: 230px;
    }
}
