﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

html,
body,
#dvmainview {
    height: 100%;
    min-height: 100%;
}

body {
    background: #0a0822 !important;
    font-family: 'Inter', 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#footer {
    display: none;
}

.upsa-login-page {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.upsa-login-card {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    background: #fff;
}

.upsa-login-left {
    flex: 1;
    background-color: #0a0822;
    background-image:
        radial-gradient(ellipse 90% 70% at 0% 0%, #1f1b5c 0%, transparent 58%),
        radial-gradient(ellipse 70% 55% at 100% 100%, #050414 0%, transparent 52%),
        linear-gradient(145deg, #1a1650 0%, #100e38 42%, #08061e 100%);
    color: #fff;
    position: relative;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.upsa-login-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 85% 75%, rgba(25, 20, 75, 0.55) 0%, transparent 68%),
        radial-gradient(ellipse 45% 35% at 15% 85%, rgba(15, 12, 45, 0.6) 0%, transparent 65%),
        radial-gradient(ellipse 80% 30% at 50% 110%, rgba(8, 6, 25, 0.85) 0%, transparent 55%);
    pointer-events: none;
}

.upsa-login-left::after {
    content: '';
    position: absolute;
    bottom: -35%;
    right: -25%;
    width: 90%;
    height: 75%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(30, 25, 90, 0.22) 0%, transparent 68%);
    pointer-events: none;
}

.upsa-bg-waves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.upsa-bg-waves::before,
.upsa-bg-waves::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.upsa-bg-waves::before {
    width: 140%;
    height: 80%;
    bottom: -45%;
    right: -35%;
    background: radial-gradient(ellipse at 40% 30%, rgba(20, 16, 65, 0.45) 0%, transparent 62%);
}

.upsa-bg-waves::after {
    width: 110%;
    height: 65%;
    bottom: -30%;
    right: -20%;
    background: radial-gradient(ellipse at 50% 40%, rgba(12, 10, 40, 0.35) 0%, transparent 58%);
}

.upsa-login-left-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
}

.upsa-wallet-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.25;
    color: #fff;
}

.upsa-wallet-intro {
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
}

.upsa-wallet-option {
    margin-bottom: 24px;
}

.upsa-wallet-option h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
}

.upsa-wallet-option p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.upsa-highlight {
    color: #ffcc00;
    font-weight: 600;
}

.upsa-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(8, 6, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 22px;
    text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.upsa-video-btn:hover,
.upsa-video-btn:focus {
    background: rgba(12, 10, 38, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.upsa-play-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #ffcc00;
    color: #0a0822;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    padding-left: 2px;
    flex-shrink: 0;
}

.upsa-wallet-footer {
    font-size: 12px;
    font-style: italic;
    line-height: 1.55;
    margin: 32px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.upsa-login-right {
    flex: 1;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
}

.upsa-login-form-wrap {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.upsa-logo-wrap {
    margin-bottom: 12px;
}

.upsa-logo {
    max-width: 200px;
    height: auto;
}

.upsa-portal-label {
    font-size: 13px;
    font-weight: 600;
    color: #c57b00;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}

.upsa-welcome-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 32px;
}

.upsa-form-group {
    text-align: left;
    margin-bottom: 20px;
}

.upsa-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.upsa-input {
    width: 100%;
    height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.upsa-input:focus {
    border-color: #1a1548;
    box-shadow: 0 0 0 3px rgba(26, 21, 72, 0.12);
}

.upsa-forgot-wrap {
    text-align: left;
    margin-bottom: 24px;
}

.upsa-forgot-wrap .nav-floating-forms {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upsa-forgot-wrap .nav-floating-forms li a {
    font-size: 13px;
    color: #1a1548;
    text-decoration: none;
    padding: 0;
}

.upsa-forgot-wrap .nav-floating-forms li a:hover {
    text-decoration: underline;
}

.upsa-login-btn {
    width: 100%;
    height: 48px;
    background: #1a1548;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.3px;
}

.upsa-login-btn:hover,
.upsa-login-btn:focus {
    background: #12103a;
    color: #fff;
}

.myerrordisplay {
    margin-top: 12px;
    text-align: left;
}

.errorClass,
.StderrorClass {
    color: #dc2626 !important;
    font-size: 13px;
    padding: 0;
}

.field-validation-error {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
}

@media (max-width: 900px) {
    .upsa-login-page {
        height: auto;
        min-height: 100vh;
    }

    .upsa-login-card {
        flex-direction: column;
        min-height: 100vh;
        height: auto;
    }

    .upsa-login-left {
        padding: 36px 28px;
        flex: none;
    }

    .upsa-login-right {
        padding: 36px 28px;
        flex: 1;
    }

    .upsa-wallet-title {
        font-size: 24px;
    }

    .upsa-welcome-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .upsa-login-left,
    .upsa-login-right {
        padding: 28px 20px;
    }
}
