﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2942 50%, #0d1b2e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    background: url(/Content/images/home/loginBack.png) no-repeat;
    color: white;
}

    body::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        top: -250px;
        right: -250px;
        animation: pulse 8s ease-in-out infinite;
    }

    body::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        bottom: -200px;
        left: -200px;
        animation: pulse 6s ease-in-out infinite reverse;
    }

@keyframes pulse {

    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes signal-pulse {

    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes wave-pulse {

    0%, 100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.login-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    color: #313a46;
    width: 65vw;
    height: 75vh;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(59, 130, 246, 0.1);
    animation: scaleIn 0.6s ease-out;
    margin-left: 4vw;
    margin-block: 5vh;
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.8) 0%, rgba(15, 23, 42, 0.9) 50%, rgba(10, 22, 40, 0.8) 100%), linear-gradient(to bottom, rgba(59, 130, 246, 0.15) 0%, transparent 40%, transparent 60%, rgba(245, 158, 11, 0.2) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    animation: fadeInLeft 0.8s ease-out 0.2s both;
    overflow: hidden;
    opacity: 0.95 !important;
}

.tower {
    position: absolute;
    width: 80px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

.support-1 {
    top: 150px;
}

.support-2 {
    top: 250px;
}

.support-3 {
    top: 350px;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 6s ease-in-out infinite;
    filter: blur(40px);
}

.login-left::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.08) 40%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 8s ease-in-out infinite reverse;
    filter: blur(50px);
}

.signal-wave {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    opacity: 0;
}

.signal-wave-1 {
    top: 15%;
    left: 15%;
    animation: wave-pulse 3s ease-in-out infinite;
}

.signal-wave-2 {
    top: 20%;
    right: 20%;
    animation: wave-pulse 3s ease-in-out 0.5s infinite;
}

.signal-wave-3 {
    bottom: 25%;
    left: 20%;
    animation: wave-pulse 3s ease-in-out 1s infinite;
}

.signal-wave-4 {
    bottom: 20%;
    right: 15%;
    animation: wave-pulse 3s ease-in-out 1.5s infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
    animation: scaleIn 0.8s ease-out 0.4s both;
    background: linear-gradient(135deg, #434f65 0%, #6d88a9 100%);
}

    .hero-icon svg {
        width: 60px;
        height: 60px;
        color: white;
    }

.hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-list {
    text-align: left;
    max-width: 400px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 16px;
    animation: fadeInLeft 0.6s ease-out both;
}

    .feature-item:nth-child(1) {
        animation-delay: 0.7s;
    }

    .feature-item:nth-child(2) {
        animation-delay: 0.8s;
    }

    .feature-item:nth-child(3) {
        animation-delay: 0.9s;
    }

    .feature-item:nth-child(4) {
        animation-delay: 1s;
    }

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

    .feature-icon img {
        filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(312deg) brightness(103%) contrast(103%);
    }

.login-container {
    flex: 1;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out 0.2s both;
    background-color: #ecedf1;
    opacity: 0.90 !important;
}

    .login-container h2 {
        color: #000;
        font-size: 32px;
        margin-bottom: 12px;
        font-weight: 600;
        animation: slideIn 0.6s ease-out 0.4s both;
    }

    .login-container .subtitle {
        color: #313a46;
        margin-bottom: 40px;
        font-size: 16px;
        animation: slideIn 0.6s ease-out 0.5s both;
    }

.form-group {
    animation: fadeInUp 0.6s ease-out both;
}

    .form-group:nth-of-type(1) {
        animation-delay: 0.6s;
    }

    .form-group:nth-of-type(2) {
        animation-delay: 0.7s;
    }

    .form-group label {
        display: block;
        color: #313a46;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 500;
    }

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #ecedf1 !important;
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 10px;
    color: #000 !important;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    margin: 10px 0px 15px 0px;
    background-image: url(/Content/images/NewDesignIcons/user.svg) !important;
    background-size: 20px !important;
    background-repeat: no-repeat !important;
    background-position: 10px !important;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        background: rgba(236, 237, 241, 1);
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

input[type="password"] {
    background-image: url(/Content/images/NewDesignIcons/unlock.svg) !important;
}

input::placeholder {
    color: #64748b;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #3b82f6;
    }

    .remember-me label {
        margin: 0;
        cursor: pointer;
        font-size: 14px;
        color: #313a46;
    }

.forgot-password {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .forgot-password:hover {
        color: #60a5fa;
    }

input[type="submit"],
.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    animation: fadeInUp 0.6s ease-out 0.9s both;
    margin-top: 30px;
}

    input[type="submit"]:hover,
    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    }

    input[type="submit"]:active,
    .login-btn:active {
        transform: translateY(0);
    }

.text-danger,
.Error {
    color: #ef4444;
    font-size: 14px;
    margin: 10px 0px;
    display: block;
}

.app-store-images {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    animation: fadeInUp 0.6s ease-out 1.2s both;
}

    .app-store-images img {
        width: 150px;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .app-store-images img:hover {
            transform: translateY(-2px);
        }

/* 2FA / MFA Styles */
.mfa-container {
    padding: 40px;
    color: #313a46 !important;
}

    .mfa-container h2 {
        color: #313a46 !important;
        font-size: 28px;
        margin-bottom: 20px;
        padding: 20px 20px 0px 20px !important;
    }

    .mfa-container p,
    .mfa-container div {
        color: #313a46;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .mfa-container .qr-code {
        text-align: center;
        margin: 10px 0;
    }

        .mfa-container .qr-code img {
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

.mfa-input-group {
    margin-top: 0px;
}

    .mfa-input-group label {
        display: block;
        color: #313a46;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 500;
    }

/* ASP.NET Table cleanup */
table {
    width: 100%;
    border-collapse: collapse;
}

    table td {
        padding: 0;
    }

/* Hide default ASP.NET validation asterisks styling */
span[id*="Required"] {
    color: #ef4444;
    margin-left: 5px;
}

.icon-user::before {
    content: '👤';
}

.icon-lock::before {
    content: '🔒';
}

.trn {
    padding-left: 20px;
    margin-top: -20px;
    display: block;
    margin-bottom: 20px;
    font-size: 16px;
}

