/* Reset default margin */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

html, body {
    background: #eeeeee;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #000;
}

/* ============================ Common Styles ============================ */
a:hover, a:focus {
    text-decoration: none;
}

/* ============================ Login Form Area ============================ */
.login-form-area {
    background: linear-gradient(180deg, #eeeeee, #fff);
    min-height: 100vh;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Right Side Background */
.right-side-bg { 
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.main-form-bg {
    background: rgba(0, 0, 0, 0.8);
    color: #000000;
    padding: 20px;
    z-index: 2;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Form Elements */
.main-form-bg form input,
.main-form-bg form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px; 
    color: #000000;
    font-size: 14px;
}

.main-form-bg form input[type="submit"] { 
    color: #000000;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.main-form-bg form input[type="submit"]:hover {
    background: #000000;
}

.main-logo {
    height: 80px;
    margin-bottom: 30px;
}

.main-logo a img {
    max-height: 100%;
}

/* ============================ Link Styles ============================ */
h5.login-rihgt-text a, 
span.login-rihgt-text a {
    color: #000;
    text-decoration: none;
    position: relative;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

h5.login-rihgt-text a:hover,
span.login-rihgt-text a:hover {
    color: #000000;
    border-bottom: 2px solid #FF0000;
    transform: scale(1.05);
}

span.login-rihgt-text a::before,
span.login-rihgt-text a::after,
h5.login-rihgt-text a::before,
h5.login-rihgt-text a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #FF0000;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

h5.login-rihgt-text a:hover::before,
h5.login-rihgt-text a:hover::after,
span.login-rihgt-text a:hover::before,
span.login-rihgt-text a:hover::after {
    width: 100%;
    visibility: visible;
    left: 0;
}

/* ============================ Bottom Section ============================ */
.bottom-menu {
    text-align: center;
    margin-top: 30px;
}

.bottom-menu ul {
    list-style: none;
    padding: 0;
}

.bottom-menu ul li {
    display: inline-block;
}

.bottom-menu ul li a {
    padding: 0 15px;
    font-size: 14px;
    color: #000000;
    text-transform: capitalize;
    border-left: 1px solid #fff;
    transition: color 0.3s ease;
}

.bottom-menu ul li:first-child a {
    border-left: none;
}

.bottom-menu ul li a:hover {
    color: #FF0000;
}

.bottom-text {
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

/* ============================ Forgot Password Button ============================ */
.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #FF0000;
}

/* Forgot Password Input Box (hidden by default) */
.forgot-password-box {
    display: none;
    margin-top: 20px;
}

.forgot-password-box input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #eeeeee;
}

.forgot-password-box input[type="submit"] {
    background: #FF0000;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.forgot-password-box input[type="submit"]:hover {
    background: #eeeeee;
}

/* ============================ Media Queries ============================ */
@media (max-width: 768px) {
    .main-form-bg {
        width: 100%;
        margin-top: 20px;
    }

    .right-side-bg {
        display: none;
    }
}


/* ============================ Terms and Condition Text Box ============================ */
.termsAndCondition {
    background: #fff;
    padding: 20px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
    color: #333; /* Text color */
    font-size: 14px;
    line-height: 1.6;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.termsAndCondition:hover {
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    transform: translateY(-5px); /* Lift the box slightly */
}

.termsAndCondition::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 0, 0, 0.05); /* Light red animation overlay */
    transform: rotate(45deg);
    transition: background 0.5s ease;
    z-index: 0;
}

.termsAndCondition:hover::before {
    background: rgba(255, 0, 0, 0.1); /* Darker red on hover */
}

.termsAndCondition p {
    z-index: 1; /* Make sure text is above the background */
    position: relative;
    margin: 0;
}

.termsAndCondition input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}

/* ============================ Responsive Style ============================ */
@media (max-width: 768px) {
    .termsAndCondition {
        padding: 15px;
        font-size: 13px;
    }
}


.red-logo img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(500%) hue-rotate(-50deg) brightness(90%) contrast(90%);
}
.red-logo {
    background-color: ;
    display: inline-block;
    mix-blend-mode: multiply;
    padding-top:30%;
}

.red-logo img {
    width: 100%; /* Adjust size as needed */
    display: block;
}

 

/* Apply red color filter and style the mobile logo */
.mobile-logo.red-color img {
    filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(500%) hue-rotate(-50deg) brightness(90%) contrast(90%);
    height: 80px;
    margin-bottom: 30px;
}

/* Show mobile logo with red color filter on mobile devices */
@media (max-width: 768px) {
    .mobile-logo {
        display: block; /* Show mobile logo on mobile devices */
    }
    
    .mobile-logo.red-color img {
        filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(500%) hue-rotate(-50deg) brightness(90%) contrast(90%);
        height: 80px;
        margin-bottom: 30px;
    }
}

/* Hide mobile logo on desktop devices */
@media (min-width: 769px) {
    .mobile-logo {
        display: none; /* Hide mobile logo on larger screens */
    }
}







/* Show the terms and conditions div only on mobile devices */
.mobile-termsAndcondition {
    display: none; /* Hide by default */
}

/* Show the terms and conditions div on mobile devices */
@media (max-width: 768px) {
    .mobile-termsAndcondition {
        display: block; /* Show on mobile devices */
    }
}







/* Forgot password link */
.forgot-password {
    margin-top: 10px;
    cursor: pointer;
    color: #f54b42;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

.forgot-password:hover {
    color: #8a2387;
}

/* Forgot login email input (hidden by default) */
#forgot-login-input {
    display: none;
    margin-top: 20px;
}

#forgot-login-input input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
}

/* Styling for form controls */
.form-control {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Focus state - when user clicks on the field */
.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

/* Error state - add this class when validation fails */
.form-control.is-invalid {
    border-color: #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.form-control.is-invalid:focus {
    border-color: #e3342f;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.25);
}

/* Success state - when input is valid */
.form-control.is-valid {
    border-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

.form-control.is-valid:focus {
    border-color: #218838;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.25);
}

/* Add a label with nice spacing */
.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
    display: block;
}