@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Condensed", sans-serif;
}

.login_section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;    
}

.login_section .imgBox {
    position: relative;
    width: 50%;
    height: 100%;
}

.login_section .imgBox:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(225deg, #e91e63, #03a9f4);
  z-index: 1;
  mix-blend-mode: screen;
}

.login_section .imgBox img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login_section .contentBox {
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 100%;
    justify-content: center;
    align-items: center;
  }
  
  
  .login_section .contentBox .tendoanhnghiep {
    position: fixed;
    top: 0;
    right: 0;
    margin: 10px 20px;   
    
  }
  
  .tendoanhnghiep p {
    text-align: right;
  }
  
  .tendoanhnghiep .tendn {
    text-transform: uppercase;
    font-weight: bold;
    color: #1B3F91;
  }
  
  .tendoanhnghiep .diachidn {
    font-size: 15px;
  }
  
  .login_section .contentBox .formBx {
    width: 50%;    
  }
  
  .login_section .contentBox h2 {
    color: #607d8b;
    font-weight: 600;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 4px solid #ff4584;
    display: inline-block;
    letter-spacing: 1px;
  }
  
  .login_section .contentBox .formBx .inputBx {
    margin-bottom: 20px;
  }
  
  .login_section .contentBox .formBx .inputBx span {
    font-size: 16px;
    margin-bottom: 5px;
    display: inline-block;
    color: #607db8;       
  }
  
  .login_section .contentBox .formBx .inputBx  input {
    width: 100%;
    padding: 10px 20px;
    outline: none;    
    border: 1px solid #607d8b;   
    color: #607d8b;
    background: transparent;
    border-radius: 30px;
    font-size: 16px;
    font-family: "Roboto Condensed", sans-serif;
  }
  
  .login_section .contentBox .formBx .inputBx  input[type="submit"] {
    background: #ff4584;
    color: #fff;
    outline: none;
    border: none;   
    cursor: pointer;
    width: 50%; 
    transform: translateX(50%); 
  }
  
  .login_section .contentBox .formBx .inputBx  input[type="submit"]:hover {
    background: #e2628d;    
  }
  
  .login_section .contentBox .formBx .remember {
    margin-bottom: 10px;
    color: #607d8b;
  }
  
  
  @media (max-width: 1024px) {
    .login_section .imgBox {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
  
    .login_section .imgBox:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(225deg, #e91e63, #011d2b);
        z-index: 1;
        mix-blend-mode: screen;
    }
  
    .login_section .contentBox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: 1;
        
    }
  
    .login_section .contentBox .tendoanhnghiep {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        margin: 10px 0 0 0;
        
    }
    
    .tendoanhnghiep .tendn {
      text-transform: uppercase;
      font-weight: bold;
      color: #fff;
      text-align: center;
    }
  
    .tendoanhnghiep .diachidn {
      color: #fff;
      text-align: center;
      font-size: 13px;
    }
  
   
    .login_section .contentBox .formBx {
        width: 50%;
        padding: 40px;
        background: rgb(255 255 255 / 0.6);
        margin: 250px;
    }
  
    .login_section .contentBox .formBx h3 {
        color: #607d8b;
        text-align: center;
        margin: 30px 0 10px;
    }    
  }
  
  
  @media (max-width: 820px) {
    
    .login_section .imgBox {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
  
    .login_section .contentBox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
  
    .login_section .contentBox .formBx {
        width: 60%;
        padding: 40px;
        background: rgb(255 255 255 / 0.6);
        margin: 150px;
    }
  
    .login_section .contentBox .formBx h3 {
        color: #607d8b;
        text-align: center;
        margin: 30px 0 10px;
    }    
    
    .login_section .contentBox .formBx .inputBx  input{
        color: #000;
    }
  }
  
  
  @media (max-width: 430px) {
   
    .login_section .imgBox {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
  
    .login_section .contentBox {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
  
    .login_section .contentBox .formBx {
        width: 100%;
        padding: 40px;
        background: rgb(255 255 255 / 0.6);
        margin: 150px;      
    }
  
    .login_section .contentBox .formBx h3 {
        color: #607d8b;
        text-align: center;
        margin: 30px 0 10px;        
       
    }    
    
    .login_section .contentBox .formBx .inputBx  input{
        color: #000;
    }
  }
  
  
    /* Khung chứa có thanh cuộn */
    .timeline-container {
      max-height: calc(100vh - 180px);        /* Chiều cao hiển thị tối đa */
      overflow-y: auto;         /* Kích hoạt thanh cuộn dọc */
      padding-right: 10px;      /* Chống tràn nội dung */
      scrollbar-width: thin;    /* Firefox */
      scrollbar-color: #bbb #f5f5f5;
      
    }
    /* Scrollbar cho Chrome, Edge, Safari */
    .timeline-container::-webkit-scrollbar {
      width: 8px;
    }
    .timeline-container::-webkit-scrollbar-track {
      background: #f5f5f5;
    }
    .timeline-container::-webkit-scrollbar-thumb {
      background: #bbb;
     /* border-radius: 4px;*/
    }
    .timeline-container::-webkit-scrollbar-thumb:hover {
      background: #888;
    }

    /* Timeline */
    .timeline {
      position: relative;
      padding-left: 1rem;
    /*  margin-top: 1rem; */
      
    }
    .timeline::before {
      content: "";
      position: absolute;
      left: 1rem;
      top: 0;
      bottom: 0;
      width: 1px;
      background: linear-gradient(#e9ecef, #ced4da);
      border-radius: 2px;
    }
    .timeline-item {
      position: relative;
      margin-bottom: 0.01rem;
      padding-left: 1.25rem;
      
    }
    .timeline-marker {
      position: absolute;
      left: -0.7rem;
      width: 1.5rem;
      height: 1.5rem;
      /*border-radius: 50%;
      background: #fff;
      border: 3px solid #0d6efd;*/
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      color: #0d6efd;
      z-index: 100;
    }
    .timeline-content {
      background: #ffff;
      padding: 0.01rem 1rem;
      /*border: 1px solid #e9ecef;
      padding: 0.75rem 1rem;
      border-radius: 0.5rem;
      box-shadow: 0 6px 18px rgba(13,110,253,0.04);*/
    }
    .timeline-date {
      font-size: small;
      color: #6c757d;
      
    }
    
     /* Offcanvas custom cho desktop */
        .offcanvas-custom {
            /*width: 400px;  */     /* Chiều rộng desktop */
            max-width: 100%;    /* tránh vượt màn hình */
        }

        /* Full màn hình trên mobile (<576px) */
        @media (max-width: 1024px) {
            .offcanvas-custom {
                width: 100% !important;
                height: 100% !important;
                top: 0;
                bottom: 0;
            }
        }
/*----------------------------------------*/
