#login-content{
    position: relative;
}

#box-login{
    position: absolute;
    width: 340px;
    height: 410px;
    overflow: visible;
    top:90px;
    right:  420px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    z-index: 9999;
    padding: 16px;
      opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
#login:hover #box-login,
#login:focus-within #box-login{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity .28s ease, transform .28s ease, visibility 0s;
}
#login:hover #box-login,
#login:focus-within #box-login{
  display: block;
}
#login-head{
    width: 90%;
    height: 70px;
    margin: auto;
    border-bottom: 1px solid #ccc;  
    text-align: center; 
    margin-bottom: 20px;
}
#text-login{
    text-transform: uppercase;
    padding: 5px;
    font-size: 18px;
    word-spacing: 2px;
}
#text-note{
    opacity: 0.7;
}

.input-login{
    width: 90%;
    height: 42px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 20px;
}
.input-login input {
    width: 100%;
    height: 100%;
    padding: 5px;
    outline: none;
}
.input-login p{
    font-size: 15px;
    opacity: 0.7;
}
.input-login a{
    color: #4c7cff;
    opacity: 1;
}
#login-bot{
    width: 90%;
    margin: auto;
    height: 42px;
}
#login-bot button,
#box_signup button{
  text-transform: uppercase;
  width: 100%; 
  height: 100%;
  word-spacing: 2px;
   font-size: 15px;
  border: none; 
  border-radius: 8px; 
  cursor: pointer;
  color: #fff; 
  margin-bottom: 5px;
  background: linear-gradient(
    135deg,
    #f9bb01 0%,
    #f9bb01 50%,
    #263b96 50%,
    #263b96 100%
  );
  background-size: 240% 240%;    
  background-position: 0% 100%;  
  transition: background-position .45s ease;
}
#login-bot button:hover,
#box_signup button:hover{
   background-position: 100% 0%;   
}
#login-bot button:active{ transform: translateY(1px); }
#bot-content{
    width: 90%;
    font-size: 12px;
    opacity: 0.7;
}
#bot-content p{
    padding: 2.5px;
}
#bot-content a{
    color:#4c7cff;
    opacity: 1;
}
/* CHỈ RIÊNG TRANG LOGIN */
body:has(#box_signup) #header{
    position: static;     /* hoặc relative */
}

.content{
    width: 100%;
    height: 700px;
    background-color: #f5f5f5ad;
}
.content #body_list{
    display: none;
}
#box_signup{
    width: 80%;
    height: 700px;
    margin: auto;
}
#box
{
    width: 650px;
    margin: auto;
    margin-top: 120px;
    border-radius: 10px;
    border: 1px solid #ccc;
    min-height: 420px;   /* chiều cao tối thiểu */
    height: auto;        /* QUAN TRỌNG */

}
#box_title{
    width: 100%;
    height: 75px;
    position: relative;
}
#box-LG, #box-Signup{
    position: static;
    top: 250px;
    left: 33%;
    width: 630px;
    
}

#title-left, #title-right{
    float: left;
    padding: 10px 0px 10px 10px;
    font-size: 24px;
    margin-top: 20px;
    
}
#title-left a, #title-right a{
    color: #000;
    text-decoration: none;
    word-spacing: 2px;
    font-weight: 500;
}
#title-left{
    margin-left: 29%;
    margin-right: 10px;
}
#box-input{
    margin-top: 20px;
}
.input{
    padding: 20px;
}
.input input{
    width: 100%;
    height: 50px;
    padding: 10px;
    font-style: italic;
    outline: none;
    border: none;
    background-color: #ededed;
}
#box-cs{
    padding: 5px;
    margin-left: 20px;
    font-size: 15px;
}
#box-cs p{
    opacity: 0.7;
}
#box-cs a{
    color: #263b96;
}
#btn_DN button{
    text-transform: uppercase;
    width: 150px;
    height: 45px;
    margin: 20px;
    margin-top: 20px;
    border: none;
    word-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    float: left;
}
#btn_DNK button{
    text-transform: uppercase;
    width: 150px;
    height: 45px;
    margin: 20px;
    border: none;
    word-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    float: left;
}
#box #createac{
    margin-top: 30px;
}
#box #forgotpass{
    margin-top: 10px;
}
.tab-pane.active{
    display: block;
}
.tab-pane{
    display: none;
}
.tab-items.active{
    opacity: 1;
}
.tab-items:hover {
  opacity: 1;
}
#logined {
    margin-top: 30px;
}
#logined a{
    color: #263b96;
    text-decoration: none;
}
#box-Signup{
    height: 430px;
}
.login-msg{
  display:block;
  height: 18px;           
  line-height: 18px;
  margin: 6px 20px 0;
  font-size: 13px;
  visibility: hidden;    
}
#pw-match-msg{
  display:block;
  height: 18px;
  line-height: 18px;
  margin: 4px 20px 0;
  font-size: 13px;
  visibility: hidden;
}
#pw-match-msg.ok{ 
    color:#2e7d32; 
}
#pw-match-msg.err{ 
    color:#d32f2f; 
}