﻿:root {
    --primary-color: #172b53;
    --background-color: var(--primary-color);
    --link-color: #B0B0B0;
    --input-border-color: #ced4da;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    height: 100vh;
    overflow: hidden;
    font-family: "Roboto", sans-serif;
}

.login-wrapper {
    display: flex;
    height: 100vh;
    width: 100%;
}

.left-container {
    width: 50%;
    background: linear-gradient(135deg, #0f244a 0%, #2c3e50 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
}

.company-logo {
    width: 170px;
    margin-bottom: 20px;
}

.company-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
}

.right-container {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 3px solid #0f244a;
    position: relative;
}

    .login-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(to right, #0f244a, #2c3e50);
        border-radius: 18px 18px 0 0;
    }

.signin-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #0f244a;
}

.form-group {
    margin-bottom: 20px;
}

.label {
    font-weight: 600;
    color: #0f244a;
    display: block;
    margin-bottom: 8px;
}

.input-box {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    transition: all 0.3s;
    background: #ffffff;
}

    .input-box:focus {
        outline: none;
        border-color: #0f244a;
        box-shadow: 0 0 0 2px rgba(15, 36, 74, 0.2);
    }

.forgot {
    float: right;
    margin-top: 5px;
    font-size: 12px;
    color: #909090;
    text-decoration: none;
}

    .forgot:hover {
        text-decoration: underline;
    }

.login-btn {
    width: 100%;
    background: #0f244a;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

    .login-btn:hover {
        background: #1a365d;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }

    .left-container, .right-container {
        width: 100%;
    }

    .left-container {
        height: 30%;
        padding: 20px;
    }

    .right-container {
        height: 70%;
    }

    .company-title {
        font-size: 24px;
    }

    .login-card {
        margin: 20px;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 25px 20px;
        margin: 15px;
    }

    .signin-title {
        font-size: 24px;
    }
}

.loginbox {
    background: #fff;
    padding: 49px 7px;
    border-radius: 25px;
}

    .loginbox h1 {
        margin-top: 0px;
        text-align: center;
    }

.input-container {
    position: relative;
    width: 100%;
}

.input-field {
    padding-left: 40px !important;
    padding-right: 40px !important;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #dce1e6;
    background: #eef3fb;
    font-size: 15px;
}

.left-icon {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 18px;
}

.right-icon {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
    
}
.right-icon1 {
    position: absolute;
    right: 30px;
    top: 55%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
}

.Password {
    margin-top: 15px;
}
/* Fix for login page visibility - Add to your existing CSS */
.loginmbl {
    width: 100%;
    display: flex;
    height: 100vh;
    padding: 0px;
    align-items: center;
    background: linear-gradient(135deg, #0f244a 0%, #2c3e50 100%);
}

.mbl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #fff;
    text-align: center;
}

.pngmbl {
    display: block;
    width: 150px;
    margin-bottom: 20px;
}

.mbl h1 {
    font-size: 50px;
    color: #fff;
    text-align: center;
    margin-top: -10px;
    width: 100%;
}

/* Ensure login box is visible */
.loginbox {
    background: #fff;
    padding: 49px 7px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 3px solid #0f244a;
    width: 100%;
}

    .loginbox h1 {
        margin-top: 0px;
        text-align: center;
        color: #0f244a;
        font-size: 40px;
        font-weight: 700;
        margin-bottom: 30px;
    }

/* Fix input alignment */
.input-container {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.input-field {
    padding-left: 40px !important;
    padding-right: 40px !important;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #dce1e6;
    background: #eef3fb;
    font-size: 15px;
    width: 100%;
}

.Password {
    margin-top: 15px;
}

/* Button fixes */
.submitButton {
    background-color: #172B53 !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    width: 100% !important;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

    .submitButton:hover {
        background-color: #1a365d !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

/* Forgot password link */
.col-lg-12 p {
    text-align: right;
    margin: 15px 0;
    color: #172B53;
    cursor: pointer;
}

    .col-lg-12 p:hover {
        color: #172B53;
    }

/* Responsive fixes - keep your existing responsive code but add these */
@media only screen and (max-width: 768px) {
    .loginmbl {
        display: block !important;
        height: auto;
        min-height: 100vh;
        padding: 20px;
    }

    .mbl {
        height: auto;
        padding: 40px 20px;
    }

        .mbl h1 {
            font-size: 3rem;
            position: static;
            margin-top: 20px;
        }

    .pngmbl {
        position: static;
        margin: 0 auto 20px auto;
        width: 120px;
    }

    .loginbox {
        width: 95%;
        margin: 20px auto;
        padding: 30px 15px;
    }

        .loginbox h1 {
            font-size: 2.5rem;
        }
}

/* Ensure container columns work properly */
.container.loginmbl {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.col-sm-6.mbl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.col-sm-4 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px / 1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.forgot {
    cursor: pointer;
    text-decoration: none;
    color: #172b53;
    border: none;
    background: none;
    font-weight: 500;
    display: inline-block;
}

.verification-container {
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    margin: 15px 0;
}

.verification-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    background: #c7daeb;
}

    .verification-input:focus {
        border-color: #172B53;
        outline: none;
    }

.resend-link {
    color: red;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

    .resend-link:hover {
        text-decoration: underline;
    }

.verification-text {
    text-align: center;
    margin: 15px 0;
    color: lightgrey;
}

.ad {
    font-weight: 600;
    color: #172B53;
    display: block;
    text-align: left;
}

/* Hide number input arrows */
.verification-input::-webkit-outer-spin-button,
.verification-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.verification-input[type=number] {
    -moz-appearance: textfield;
}

/* New Password Step Styles */
.password-strength {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.strength-weak {
    background: #ff4757;
}

.strength-medium {
    background: #ffa502;
}

.strength-strong {
    background: #2ed573;
}

.password-match {
    color: #2ed573;
    font-size: 12px;
    margin-top: 5px;
}

.password-mismatch {
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
}

/* Additional styles for password toggle */
.toggle-password:hover {
    color: #172B53;
}
.eye {
    right:10px;
}

[runat="server"] {
    display: block;
}


