/* Global Variables */
:root {
    --primary-color: #00a3a3;
    --primary-dark: #006666;
    --white: #ffffff;
    --transition-speed: 0.3s;
    --slide-duration: 0.8s;
    --input-bg: rgba(255, 255, 255, 0.9);
}

/* Layout */
.login-container {
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}

/* Form Side Styling */
.form-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #008080;
    color: var(--white);
    min-height: 100vh;
}

.form-wrapper {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    display: inline-block;
}

/* Card Styling */
.card.bg-transparent {
    border: none;
}

.login-card-body {
    padding: 20px 0;
}

/* Form Elements */
.input-group-text {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
    background: var(--input-bg);
    border: none;
    color: var(--primary-color);
}

.input-group-text i {
    line-height: 1.5;
    font-size: 1.2rem;
}

.form-control {
    border: none;
    background-color: var(--input-bg);
    transition: background-color var(--transition-speed) ease;
}

.form-control:focus {
    background-color: var(--white);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border: none;
}

.input-group-lg > .form-control,
.input-group-lg > .input-group-prepend > .input-group-text {
    padding: 12px;
    font-size: 1rem;
}

.border-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Button Styling */
.btn-login {
  background-color: var(--white);
  padding: 12px;
  color: var(--primary-color);
  font-size:1rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  margin-top: 10px;
  border: 2px solid transparent;
}

.btn-login:hover {
  background-color: #008080;
  transform: translateY(-2px);
  color: #FFF;
  border:2px solid #FFF;
}

/* Links */
.forgot-password,
.contact-us {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    transition: color var(--transition-speed) ease;
}

.forgot-password:hover,
.contact-us:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Carousel Styling */
.carousel-side {
    padding: 0;
    height: 100vh;
    position: relative;
    background-color: #fff;
    overflow: hidden;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel {
    height: 100%;
}

.carousel-inner {
    height: 100%;
}

/* Make transitions smoother */
.carousel-item {
    transition: transform 1.2s ease;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Carousel Controls */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 1rem;
    z-index: 15;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
    border: none;
}


/* Hardware Acceleration */
.carousel-item {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Fix for Bootstrap container-fluid */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

[class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-side {
        display: none;
    }
    
    .form-side {
        padding: 20px;
    }
    
    .logo {
        max-width: 250px;
    }

    .input-group-lg > .form-control,
    .input-group-lg > .input-group-prepend > .input-group-text {
        padding: 10px;
        font-size: 0.9rem;
    }

    .form-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-side {
        padding: 15px;
    }
    
    .forgot-password,
    .contact-us {
        font-size: 12px;
    }
}

/* Responsive Layout */
@media (min-width: 321px) and (max-width: 880px) {
    .carousel-side {
        display: none;
    }

    .form-side {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .container-fluid {
        padding: 0;
    }

    .form-wrapper {
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
    }
}

/* Divider Styling */
.divider-container {
    position: absolute;
    left: 50%;
    transform: translateX(-10%);
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 1030;
}

.divider-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 321px) and (max-width: 880px) {
    .divider-container {
        display: none;
    }
}
.oe-login_box {
    padding: 20px 0;
    text-align:center;
}
.oe-login_box .form-card{
    background: #f3f3f3;
}

.oe-login_box .card{
    border-radius: 10px;
    border-color: #d3d3d3;
}
.oe-login_box h4{
     display:none;
     font-size: 2rem;
     color:#253b9c;
}
.oe-login_box .para{
     font-size: 1rem;
     margin-bottom: 20px;
}
.oe-login_box .input-group-lg > .form-control,
.oe-login_box .input-group-lg > .input-group-prepend > .input-group-text {
  padding: 0 ;
  font-size: 1rem;
}
.oe-login_box .input-group-prepend {
    display: flex;
    justify-content: center;
    align-items: center;
    width:14%;
    background: white;
}
.oe-login_box .input-group{
    width:98%;
    height:45px;
    border: 1px solid #253b9c !important;
    border-radius: 0 !important;
}
.oe-login_box .input-group-text {
    background: none;
    color:#253b9c;
}
.oe-login_box .btn-login {
    padding:5px 40px;
    background: #253b9c !important;
    color: white !important;
    height: 45px;
    border-radius: 30px;
    margin-top: 10px;
}
.oe-login_box .btn-login:hover{
    transform: translate(0px) !important;
    background: #a238ff !important;
    border-color: #a238ff !important;
}
.oe-login_box .btn-verify {
    padding:3px 20px;
    background: #253b9c !important;
    color: white !important;
    height: 45px;
    border-radius: 0px;
    width: 90%;
}
.oe-login_box .btn-verify:hover {
    background: #a238ff !important;
    border-color: #a238ff !important;
}
.oe-login_box .logo{
    max-width:350px;
}
.oe-login_box .input-group:focus-within {
    border-color: #a238ff !important;
}
.signup-page .bottom-heading{
    font-size:1rem;
    color:#253b9c;
    text-decoration:none;
}
.signup-page .bottom-heading:hover{
    color:#a238ff;
    text-decoration:none;
}
.signup-page .form-side-div{
    background:none;
    padding:0;
    width:95%;
    margin:auto;
}
.img-right{
    display:none;
    width:50%;
}
.main_formDiv{
    width: 90%;
}
.right-img{
    width:100%;
}
.login_card{
    width:65%;
    margin:auto;
    
}
.signup-page  .card{
    border-radius: 10px;
    border-color: #253b9c;
    background: #F5FBFE;
    margin-bottom:5px;
    height:auto;
    margin: 8px auto;
}
.signup-page .input-group{
    width:97.5% !important;
  
}
.signup-page .row > div:nth-child(odd) .input-group {
    margin-left: 0;
    margin-right: 0;
}

.signup-page .row > div:nth-child(even) .input-group {
    margin-left: 0;
    margin-right: 0;
}
.signup-page .login-container{
    background-position: center bottom;
}

.signup-page .logo-container{
     /*margin-top:30px;*/
     margin-bottom:10px !important;
     display:flex;
     justify-content:center;
}
.signup-page .logo{
     max-width:350px;
}

.signup-page .forgot-password, .contact-us{
    font-size: 1rem;
}

.profile-page__instructions {
  text-align: left;
  font-size: 1rem;
  line-height: 1.3;
  padding: 10px;
  border-radius: 6px;
  height: auto !important;
  margin: auto !important;
} 
.profile-page__instructions p{
    margin-bottom: 0;
}
.user-img{
    width: 100%;
    height: 95%;
    padding: 5px;
}
@media (min-width: 480px){
    .signup-page .form-side-div {
        width: 70%;
     }
}
@media (min-width: 768px){
   .signup-page .logo-container{
      margin-top:auto;
   }
  .signup-page .form-side-div {
    width: 50%;
  }
  .img-right {
    display: flex;
    width: 45%;
  }
  .signup-page .row > div:nth-child(odd) .input-group {
    margin-left: 0;
    margin-right: auto;
  }
    
  .signup-page .row > div:nth-child(even) .input-group {
    margin-left: auto;
    margin-right: 0;
  }
}
@media (min-width: 1000px) {
  .signup-page .card{
      min-height:535px;
  }
  .main_formDiv{
        width: 85%;
   }
   .img-right {
        display: flex;
        width: 50%;
    }
   .right-img{
        width:90%;
    }
    .signup-page .form-side-div{
        width:50%;
    }
    .login-small {
        width: 370px;
        margin:auto;
    }
}
@media (min-width: 1300px) {
    .main_formDiv{
        width: 80%;
    }
    .signup-page .card{
        margin: auto;
    }
}
@media (min-width: 1800px) {
    .user-img{
        width: 100%;
        height: 174px;
        padding: 5px;
    }
    .signup-page .form-side-div{
        width:45%;
    }
    .signup-page .logo{
        max-width:450px;
    }
    .right-img{
        width:85%;
    }
    .login-small {
        width: 470px;
        margin:auto;
    }
    .profile-page__instructions {
      line-height: 1.2;
      font-size: 1.2rem;
    }

}
#error_msg {
    /*padding: 12px 20px;*/
    background-color: #f8d7da; /* Light red background */
    color: #721c24;           /* Dark red text */
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-weight: 500;
}
#success_msg {
    /*padding: 12px 20px;*/
    background-color: #d4edda; /* Light red background */
    color:#155724 !important;         /* Dark red text */
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    font-weight: 500;
}
.bototm-div{
    margin-top:10px;
}
.bototm-div p{
    margin-bottom: 8px;
}
.bototm-div img{
    width:43%;
}