*{
    font-family: 'Avenir', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    
    html,
    body {
        background: #F5F7F8;
        padding: 0;
        height: 100vh;
    width: 100vw !important;
    overflow-x: hidden;
}
.form-name{
    font-size: 30px;
    font-weight: bolder;
}
.info-side {
    /* background: linear-gradient(135deg, rgba(59, 100, 150, 0.91)  10%, rgb(62, 97, 124) 100%); */
     /* background-color: rgb(73, 115, 147) !important; */
    color: rgba(59, 100, 150, 0.91);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    font-weight: normal;
    overflow: hidden;
}
.full-width-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    width: 100vw !important; 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.form-side {
    display: flex;
    /* background-color: #f9fafb;  */
    padding-top: 50px;
    justify-content: center;
    align-items: center;
}
.login-card {
    border-radius: 20px;
    padding: 0;               
    max-width: 600px;            
    width: 100%;                 
    margin: 50px auto; 
    overflow: hidden;
}
.company-name {
            font-size: 20px;
            font-weight: 700;
            letter-spacing: 0.5px;
        }
.info-content{
            padding-left: 20px;
            padding-right: 20px;
            transition: all 0.6s ease;
        }
 .logo {
            text-align: center;
            margin-top: 0;
            padding-top: 0;
            transition: all 0.6s ease;
            margin-bottom: 0 !important;
        }
        
        .logo img {
            width: 200px; 
            margin-top: 0;
            margin-bottom: 5px;
            border-radius: 50%;
            transition: all 0.4s ease; 
        }
.info-side.about-shown .logo img {
    width: 120px;  
    margin-bottom: 5px; 
}

.subtitle{
    margin-bottom: 5px;
    opacity: 0.9;
    color: rgb(62, 97, 124)
}
/* About Us content - initially hidden */
        .about-content {
            opacity: 0;
            max-height: 0;
            margin-top: 0 !important;
            overflow: hidden;
            transition: all 0.8s ease;
            transform: translateY(-15px);
        }
        
        .about-content.show {
            opacity: 1;
            max-height: 500px;
            transform: translateY(0);
            margin-top: 5px;
        }
        
        .about-description {
            margin-top: 0 !important;
            margin-bottom: 35px;
            opacity: 0.9;
            line-height: 1.6;
            color: rgb(62, 97, 124);
            text-align: justify;
        }
          .about-btn {
            position: absolute;
            bottom: 25px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(221, 168, 83, 0.9);
            color: white;
            border: 2px solid #dda853;
            padding: 5px;
            border-radius: 5px;
            font-size: 11px !important;
            cursor: pointer;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
        }
        
        .about-btn:hover {
            background: #dda853;
            transform: translateX(-50%) translateY(-3px);
            box-shadow: 0 5px 15px rgba(221, 168, 83, 0.4);
        }
        
        .about-btn.active {
            border: none;
            background: transparent;
            color: #dda853;
            box-shadow: none;
        }
        .about-btn.active i {
            font-size: 22px;
        }
.feature-list {
    list-style: none;
    padding-left: 0;
}
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-left: 4px solid #d69c28;
    background-color: rgba(193, 204, 214, 0.2);
    padding-left: 15px;
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateX(5px);
    background: rgba(249, 115, 22, 0.1);
    border-radius: 5px;
}
.feature-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}
 /* When about is shown - move logo up */
        .info-side.about-shown .logo {
            transform: translateY(-50px);
            margin-bottom: none !important;
        }
        
        .info-side.about-shown .logo-title {
            justify-content: flex-start;
        }

.logo-img {
    width: 80px;
}
.card-header {
    background: linear-gradient(135deg, rgba(59, 100, 150, 0.91)  10%, rgb(62, 97, 124) 100%);
    color: white;
    height: 14%;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    vertical-align: middle;
}
.login_btn,
.btn-reset,
.btn-update{
    background: rgba(221, 168, 83, 0.9);
    color: white;
    border: 2px solid #dda853;
    font-weight: bold;
    font-size: 16px;
    padding: 8px;
    border-radius: 5px;
    border: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}
.login_btn:hover,
.btn-reset:hover,
.btn-update:hover{
    background: #dda853;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(221, 168, 83, 0.4);
}
 .main-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 35px 20px;
}

.reset-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 30px;
}

.form-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
 }

.status-message {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 500;
    border: none;
}

.form-floating {
    margin-bottom: 20px;
}
.form-floating input{
    padding: 5px;
}

.back-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.back-link a {
    color: #27548a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

 .back-link a:hover {
    color: #183b4e;
    transform: translateX(-3px);
 }

.alert {
    position: relative; 
    border: 1px solid red;
    margin-bottom: 20px;
    border-radius: 7px;
    color: #D8000C;
    background-color: #FFBABA;
    background-repeat: no-repeat;
    background-image: url('https://i.imgur.com/GnyDvKN.png');
    background-size: 24px; 
    background-position: 10px center; 
    padding: 15px 10px 15px 50px; 
    font-size: 15px;
}
.alert-danger{
    position: relative; 
    border: 1px solid yellow;
    margin-bottom: 20px;
    border-radius: 7px;
    color: #9F6000;
    background-color: #FEEFB3;
    background-repeat: no-repeat;
    background-image: url('https://i.imgur.com/Z8q7ww7.png');
    background-size: 24px; 
    background-position: 10px center; 
    padding: 15px 10px 15px 50px; 
    font-size: 15px;
}
.alert-success {
    position: relative; 
    margin-bottom: 20px;
    border: 1px solid green;
    border-radius: 7px;
    color: #4F8A10;
    background-color: #DFF2BF;
    background-repeat: no-repeat;
    background-image: url('https://i.imgur.com/Q9BGTuy.png');
    background-size: 24px; 
    background-position: 10px center; 
    padding: 15px 10px 15px 50px; 
    font-size: 15px;
}

/* For Tablets */
@media (min-width: 577px) and (max-width: 992px){

    .main-title{
        font-size: 20px;
    }
    .subtitle{
        font-size: 16px;
    }
    .form-side{
        width: 80%;
    }
    .logo img {
        width: 180px; 
    }
    .about-description,
    span{
        font-size: 14px;
    }

}
@media (max-width: 576px) {
  .full-width-container {
    display: block;        /* use normal block flow on phone */
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .form-side {
    order: -1;
    width: 100%;           
    max-width: 100%;       /* no restriction */
    margin: 0;
    padding: 0;  
    }
    .form-side .form-control{
        width: 100%;
    }

  .info-side {
    order: 0;
    padding: 20px 15px;
    text-align: center;
    width: 100%;
    position: relative;    /* stays in flow, no overlapping */
  }

  /* login card stays centered */
  .form-side {
    order: -1 !important;
    margin: 15px auto;
    padding: 10px;
    max-width: 100%;
  }

.about-btn, .about-btn.active {
  position: static !important;
  color: #dda853;
  background-color: transparent !important; /* fixed */
  transform: none !important;
  width: 45%;
  display: block;
  margin: 15px auto 0 auto;
  text-align: center;
  font-size: 12px !important;
  border: none;       /* remove border if you don’t want it */
  box-shadow: none;   /* remove bootstrap button shadow */
}

.about-btn {
  padding: 0;
}

}


