* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #071D35;
}

.viswas-login-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(15px, 3vw, 35px);
    background:
        radial-gradient(circle at 15% 20%, rgba(201,162,39,.08), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(232,209,138,.05), transparent 25%),
        #071D35;
    overflow: auto;
}

.viswas-login-container {
    width: min(1120px, 100%);
    height: min(650px, calc(100vh - 50px));
    height: min(650px, calc(100dvh - 50px));
    min-height: 560px;
    display: grid;
    grid-template-columns: 46% 54%;
    background: #FFFFFF;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

/* LEFT BRAND PANEL */

.viswas-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(25px, 3vw, 42px);
    overflow: hidden;
    background: linear-gradient(145deg, #102F50 0%, #071D35 100%);
    color: #FFFFFF;
}

.viswas-brand-panel::before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(201,162,39,.14);
    border-radius: 50%;
    top: -170px;
    left: -190px;
    pointer-events: none;
}

.viswas-brand-panel::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(232,209,138,.08);
    border-radius: 50%;
    bottom: -300px;
    right: -250px;
    pointer-events: none;
}

.viswas-brand-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.viswas-brand-line {
    width: 28px;
    height: 1px;
    background: #C9A227;
}

.viswas-brand-top span {
    color: #E8D18A;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.viswas-brand-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;
}

.viswas-logo-wrap {
    position: relative;
    width: clamp(120px, 13vw, 170px);
    height: clamp(120px, 13vw, 170px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(15px, 2vw, 25px);
}

.viswas-logo-wrap img {
    position: relative;
    z-index: 3;
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.viswas-logo-ring {
    position: absolute;
    width: 96%;
    height: 96%;
    border: 1px solid rgba(201,162,39,.55);
    border-radius: 50%;
}

.viswas-logo-ring::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(232,209,138,.16);
    border-radius: 50%;
}

.viswas-logo-ring::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    background: #C9A227;
    border-radius: 50%;
}

.viswas-brand-title h1 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: clamp(3px, .5vw, 5px);
    line-height: 1;
}

.viswas-brand-title h2 {
    margin: 9px 0 0;
    color: #E8D18A;
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 600;
    letter-spacing: clamp(2px, .3vw, 3px);
    line-height: 1.4;
}

.viswas-brand-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 180px;
    margin: clamp(14px, 2vw, 21px) auto 18px;
}

.viswas-brand-divider span {
    width: 55px;
    height: 1px;
    background: rgba(201,162,39,.55);
}

.viswas-brand-divider i {
    color: #C9A227;
    font-size: 9px;
}

.viswas-brand-tagline {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: clamp(10px, 1.1vw, 12px);
    line-height: 1.8;
    letter-spacing: .5px;
}

.viswas-programs {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: clamp(16px, 2vw, 25px);
}

.viswas-programs span {
    color: #E8D18A;
    font-size: clamp(7px, .8vw, 9px);
    font-weight: 700;
    letter-spacing: 1.4px;
}

.viswas-programs i {
    width: 3px;
    height: 3px;
    background: #C9A227;
    border-radius: 50%;
}

.viswas-brand-bottom {
    position: relative;
    z-index: 2;
    text-align: center;
}

.viswas-brand-bottom span {
    color: rgba(232,209,138,.65);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* RIGHT LOGIN PANEL */

.viswas-login-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FFFFFF;
    min-width: 0;
}

.viswas-login-content {
    width: 100%;
    max-width: 450px;
    margin: auto;
    padding: clamp(30px, 4vw, 55px) clamp(25px, 4vw, 45px) 30px;
}

.viswas-login-heading {
    margin-bottom: clamp(22px, 3vw, 35px);
}

.viswas-login-label {
    display: inline-block;
    margin-bottom: 9px;
    color: #C9A227;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.viswas-login-heading h2 {
    margin: 0;
    color: #071D35;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.15;
}

.viswas-login-heading p {
    margin: 9px 0 0;
    color: #7A8494;
    font-size: clamp(10px, 1vw, 12px);
    line-height: 1.6;
}

.viswas-field {
    margin-bottom: clamp(15px, 2vw, 20px);
}

.viswas-field label {
    display: block;
    margin-bottom: 8px;
    color: #172033;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2px;
}

.viswas-input {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.viswas-input > i {
    position: absolute;
    left: 15px;
    z-index: 2;
    color: #9AA3AF;
    font-size: 15px;
    pointer-events: none;
}

.viswas-input input {
    width: 100%;
    height: clamp(43px, 4vw, 48px);
    padding: 0 45px 0 43px;
    border: 1px solid #DDE2E8;
    border-radius: 3px;
    outline: none;
    background: #FFFFFF;
    color: #172033;
    font-family: inherit;
    font-size: 13px;
    transition: all .2s ease;
}

.viswas-input input::placeholder {
    color: #A7AFBA;
}

.viswas-input input:hover {
    border-color: #BFC7D1;
}

.viswas-input input:focus {
    border-color: #C9A227;
    box-shadow: 0 0 0 3px rgba(201,162,39,.08);
}

.viswas-password-toggle {
    position: absolute;
    right: 7px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #9AA3AF;
    cursor: pointer;
    border-radius: 3px;
}

.viswas-password-toggle:hover {
    color: #071D35;
}

.viswas-signin-button {
    position: relative;
    width: 100%;
    height: clamp(44px, 4vw, 50px);
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    border-radius: 3px;
    background: #071D35;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    overflow: hidden;
    transition: all .25s ease;
}

.viswas-signin-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #C9A227;
}

.viswas-signin-button:hover {
    background: #102F50;
    box-shadow: 0 8px 20px rgba(7,29,53,.16);
}

.viswas-signin-button i {
    color: #E8D18A;
    font-size: 15px;
    transition: transform .2s ease;
}

.viswas-signin-button:hover i {
    transform: translateX(4px);
}

.viswas-security-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: clamp(15px, 2vw, 23px);
    padding: 13px 14px;
    border-top: 1px solid #EEF0F3;
    border-bottom: 1px solid #EEF0F3;
}

.viswas-security-note > i {
    color: #C9A227;
    font-size: 18px;
}

.viswas-security-note div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.viswas-security-note strong {
    color: #172033;
    font-size: 10px;
    font-weight: 700;
}

.viswas-security-note span {
    color: #8B95A3;
    font-size: 9px;
}

.viswas-login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 17px 25px;
    border-top: 1px solid #EEF0F3;
}

.viswas-login-footer > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.viswas-login-footer > div:first-child {
    text-align: right;
}

.viswas-login-footer > div:last-child {
    text-align: left;
}

.viswas-login-footer span {
    color: #071D35;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.viswas-login-footer small {
    color: #9AA3AF;
    font-size: 8px;
}

.viswas-footer-divider {
    width: 1px;
    height: 27px;
    background: #DDE2E8;
}

/* SHORT LAPTOP / SMALL HEIGHT */

@media (min-width: 769px) and (max-height: 700px) {
    .viswas-login-page {
        padding: 15px;
    }

    .viswas-login-container {
        height: calc(100dvh - 30px);
        min-height: 500px;
        max-height: 620px;
    }

    .viswas-brand-panel {
        padding: 22px 30px;
    }

    .viswas-logo-wrap {
        width: 115px;
        height: 115px;
        margin-bottom: 14px;
    }

    .viswas-brand-title h1 {
        font-size: 25px;
    }

    .viswas-brand-title h2 {
        font-size: 10px;
    }

    .viswas-brand-divider {
        margin: 12px auto;
    }

    .viswas-brand-tagline {
        font-size: 10px;
        line-height: 1.6;
    }

    .viswas-programs {
        margin-top: 14px;
    }

    .viswas-login-content {
        padding-top: 25px;
        padding-bottom: 20px;
    }

    .viswas-login-heading {
        margin-bottom: 20px;
    }

    .viswas-login-heading h2 {
        font-size: 26px;
    }

    .viswas-field {
        margin-bottom: 13px;
    }

    .viswas-security-note {
        margin-top: 14px;
        padding: 10px 12px;
    }

    .viswas-login-footer {
        padding: 12px 20px;
    }
}

/* TABLET */

@media (max-width: 900px) {
    .viswas-login-page {
        padding: 20px;
    }

    .viswas-login-container {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 620px;
        height: auto;
        min-height: 0;
    }

    .viswas-brand-panel {
        min-height: 360px;
        padding: 28px;
    }

    .viswas-brand-top {
        position: absolute;
        top: 25px;
        left: 28px;
    }

    .viswas-login-content {
        max-width: 480px;
        padding: 38px 45px 30px;
    }

    .viswas-login-footer {
        padding: 16px 25px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .viswas-login-page {
        padding: 0;
        align-items: stretch;
    }

    .viswas-login-container {
        width: 100%;
        max-width: none;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .viswas-brand-panel {
        min-height: 310px;
        padding: 24px 20px 20px;
    }

    .viswas-brand-top {
        top: 19px;
        left: 20px;
    }

    .viswas-brand-line {
        width: 20px;
    }

    .viswas-brand-top span {
        font-size: 7px;
    }

    .viswas-logo-wrap {
        width: 105px;
        height: 105px;
        margin-bottom: 14px;
    }

    .viswas-brand-title h1 {
        font-size: 23px;
    }

    .viswas-brand-title h2 {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .viswas-brand-divider {
        width: 135px;
        margin: 13px auto 12px;
    }

    .viswas-brand-divider span {
        width: 45px;
    }

    .viswas-brand-tagline {
        font-size: 9px;
        line-height: 1.6;
    }

    .viswas-programs {
        gap: 8px;
        margin-top: 14px;
    }

    .viswas-programs span {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .viswas-login-content {
        max-width: none;
        padding: 32px 24px 25px;
    }

    .viswas-login-heading {
        margin-bottom: 25px;
    }

    .viswas-login-heading h2 {
        font-size: 26px;
    }

    .viswas-login-heading p {
        font-size: 10px;
    }

    .viswas-login-footer {
        gap: 16px;
        padding: 15px 12px;
    }

    .viswas-login-footer span {
        font-size: 6px;
        letter-spacing: .7px;
    }

    .viswas-login-footer small {
        font-size: 7px;
    }

    .viswas-footer-divider {
        height: 23px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .viswas-brand-panel {
        min-height: 285px;
        padding-top: 20px;
    }

    .viswas-logo-wrap {
        width: 90px;
        height: 90px;
        margin-bottom: 11px;
    }

    .viswas-brand-title h1 {
        font-size: 20px;
    }

    .viswas-brand-title h2 {
        font-size: 8px;
    }

    .viswas-brand-tagline {
        font-size: 8px;
    }

    .viswas-programs {
        margin-top: 10px;
    }

    .viswas-login-content {
        padding: 25px 20px 20px;
    }

    .viswas-login-heading {
        margin-bottom: 20px;
    }

    .viswas-login-heading h2 {
        font-size: 23px;
    }
}

/* LANDSCAPE MOBILE */

@media (max-width: 900px) and (orientation: landscape) and (max-height: 550px) {
    .viswas-login-page {
        padding: 12px;
        overflow-y: auto;
    }

    .viswas-login-container {
        max-width: 760px;
    }

    .viswas-brand-panel {
        min-height: 240px;
        padding: 18px 25px;
    }

    .viswas-logo-wrap {
        width: 70px;
        height: 70px;
        margin-bottom: 8px;
    }

    .viswas-brand-title h1 {
        font-size: 18px;
    }

    .viswas-brand-title h2 {
        font-size: 7px;
    }

    .viswas-brand-divider {
        margin: 7px auto;
    }

    .viswas-brand-tagline {
        font-size: 8px;
    }

    .viswas-programs {
        margin-top: 8px;
    }

    .viswas-login-content {
        padding: 22px 30px;
    }

    .viswas-login-heading {
        margin-bottom: 15px;
    }

    .viswas-field {
        margin-bottom: 10px;
    }

    .viswas-input input {
        height: 40px;
    }

    .viswas-signin-button {
        height: 42px;
    }

    .viswas-security-note {
        margin-top: 10px;
        padding: 8px 10px;
    }

    .viswas-login-footer {
        padding: 10px;
    }
}