﻿:root {
    --primary: #FFD700; 
    --primary-dark: #FFC000; 
    --accent: #4caf50; 
    --light-bg: rgba(15, 15, 15, 0.9); 
    --text-light: #FFFFFF; 
    --text-dark: #121212; 
    --gold-light: #FFEE75; 
    --gold-dark: #D4A017; 
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)), url('../../Content/nifty-v2.9.1/img/LoginBack.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    image-rendering: auto;
    color: var(--text-light);
}

.login-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
}

.login-card {
    background: var(--light-bg);
    border-radius: 15px;
    box-shadow: 0 0px 0px rgba(255, 215, 0, 0.2);
    overflow: hidden;
    display: flex;
    max-width: 900px;
    margin: 0 auto;
}

.login-left {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--light-bg);
    color: var(--text-light);
}

    .login-left .login-title,
    .login-left .login-subtitle,
    .login-left .links a {
        color: var(--text-light);
    }

    .login-left .form-control {
        background-color: rgba(20, 20, 20, 0.8);
        border: 1px solid var(--gold-dark);
        color: var(--text-light);
        transition: all 0.3s ease;
    }

        .login-left .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
        }

        .login-left .form-control::placeholder {
            color: #aaa;
        }

    .login-left .btn-login {
        background: var(--primary);
        color: var(--text-dark);
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .login-left .btn-login:hover {
            background: var(--primary-dark);
            color: var(--text-dark);
        }

    .login-left .input-icon {
        color: var(--primary);
    }

.login-right {
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.9), rgba(128, 128, 128, 0.95));
    color: var(--text-light);
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-left: 1px solid rgba(255, 215, 0, 0.2);
}

.logo-img {
    border-radius: 5px;
    width: auto;
    object-fit: contain;
    max-height: 90px;
    filter: brightness(1.1);
}

.login-right::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.05);
}

.login-right::after {
    content: "";
    position: absolute;
    bottom: -80px;
    right: -30px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.05);
}

.logo {
    color: var(--primary);
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.tagline {
    color: gainsboro;
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 30px;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary);
}

.login-subtitle {
    color: #aaa;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    padding-left: 45px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 15px;
}

.btn-login {
    border: none;
    height: 50px;
    border-radius: 8px;
    width: 100%;
    margin-top: 10px;
}

.links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

    .links a {
        color: #aaa;
        text-decoration: none;
        transition: all 0.3s;
    }

        .links a:hover {
            color: var(--primary);
            text-decoration: underline;
        }

.medical-icon {
    font-size: 120px;
    margin-bottom: 30px;
    color: gainsboro;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.right-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.right-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ddd;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-left:20px;
    gap: 10px;
    color: #ddd;
    margin-bottom:20px;
}

    .checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary); /* modern browsers */
        cursor: pointer;
    }

    .checkbox label {
        cursor: pointer;
        font-size: 14px;
        user-select: none;
    }

.security-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    color: var(--primary);
    font-size: 14px;
    margin-top: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

    .security-badge i {
        margin-right: 8px;
    }
.btn{
    margin-top:35px;
    background-color:white 
    color: #121212; 
    border: none;
    height: 50px;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 184, 0, 0.3); /* Subtle gold border */
}

    .btn-login:hover {
        background: linear-gradient(135deg, #FFE55C 0%, #FFD700 100%); /* Brighter gold on hover */
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    .btn-login:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }


@keyframes shine {
    0% {
        transform: translateX(-100%) skew(-15deg);
    }

    100% {
        transform: translateX(100%) skew(-15deg);
    }
}

@media (max-width: 768px) {
    .login-card {
        flex-direction: column;
    }

    .login-right {
        display: none;
    }

    .logo-img {
        max-height: 60px;
    }
}
