
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css");
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #ddd;
  font-size: 14px;
}

.container-log {
  background-color: #fff;
  width: 760px;
  max-width: 100vw;
  height: 480px;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.06); /* Bóng đổ */
}
.container-log .forms-container {
  position: relative;
  width: 50%;
  text-align: center;
}
.container-log .forms-container .form-control {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 480px;
  transition: all 0.5s ease-in;
}
.container-log .forms-container .form-control h2 {
  font-size: 2rem;
}
.container-log .forms-container .form-control form {
  display: flex;
  flex-direction: column;
  margin: 0px 30px;
}
.container-log .forms-container .form-control form input {
  margin: 10px 0px 0px 0px;
  border: none;
  padding: 8px;
  background-color: #efefef;
  border-radius: 8px;
}
.container-log .forms-container .form-control form button {
  border: none;
  padding: 10px;
  margin-top: 5px;
  background-color: #059669;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  margin: 20px 70px 0px;
}

.register {
  border: #059669 2px solid;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  background-color: transparent;
  color: #059669;
  cursor: pointer;
  font-weight: bold;
  margin: 20px 100px;

}
.container-log .forms-container .form-control form button:focus {
  outline: none;
}
.container-log .forms-container .form-control span {
  margin: 10px 0px;
}
.container-log .forms-container .form-control .socials i {
  margin: 0 5px;
  color: #fff;
  border-radius: 50%;
}
.container-log .forms-container .form-control .socials .fa-facebook-f {
  padding: 5px 8px;
  background-color: #3b5998;
}
.container-log .forms-container .form-control .socials .fa-google-plus-g {
  padding: 5px 4px;
  background-color: #db4a39;
}
.container-log .forms-container .form-control .socials .fa-linkedin-in {
  padding: 5px 6px;
  background-color: #0e76a8;
}
.container-log .forms-container .form-control.signup-form {
  opacity: 0;
  z-index: 1;
  left: 200%;
}
.container-log .forms-container .form-control.signin-form {
  opacity: 1;
  z-index: 2;
  left: 0%;
}
.container-log .intros-container {
  position: relative;
  left: 50%;
  width: 50%;
  text-align: center;
}
.container-log .intros-container .intro-control {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 480px;
  color: #fff;
  background: linear-gradient(170deg, #34d399, #059669);
  transition: all 0.5s ease-in;
}
.container-log .intros-container .intro-control .intro-control__inner {
  margin: 0px 30px;
  z-index: 15;
}
.container-log .intros-container .intro-control button {
  border: none;
  padding: 15px 30px;
  background-color: #10b981;
  border-radius: 50px;
  color: #fff;
  margin: 10px 0px;
  cursor: pointer;
}
.container-log .intros-container .intro-control button:focus, .container-log .intros-container .intro-control button:hover {
  outline: none;
  background-color: #059669;
}
.container-log .intros-container .intro-control h3,
.container-log .intros-container .intro-control p {
  margin: 10px 0px;
}
.container-log .intros-container .intro-control.signin-intro {
  opacity: 1;
  z-index: 2;

  background-image: url('/caosu.jpg');
  background-size:cover;
  background-repeat: no-repeat;
  background-position: center;
}

.container-log .intros-container .intro-control.signin-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.container-log .intros-container .intro-control.signup-intro {
  opacity: 0;
  z-index: 1;
}

.change .forms-container .form-control.signup-form {
  opacity: 1;
  z-index: 3;
  transform: translateX(-200%);
  position: absolute;
}
.change .forms-container .form-control.signup-form button {
  background-color: #059669 !important;
}
.change .forms-container .form-control.signin-form {
  opacity: 0;
  z-index: 1;
  transform: translateX(-100%);
}
.change .intros-container .intro-control {
  /* transform: translateX(-100%);
  background: linear-gradient(170deg, #3b82f6, #2563eb); */

    background-image: url('public\caosu.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.change .intros-container .intro-control #signin-btn {
  background-color: #059669;
}
.change .intros-container .intro-control.signin-intro {
  opacity: 0;
  z-index: 1;
}
.change .intros-container .intro-control.signup-intro {
  opacity: 1;
  z-index: 2;
}

.change .intros-container .intro-control.signup-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

@media screen and (max-width: 480px) {
  .container-log {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .container-log .forms-container {
    order: 2;
    width: 100%;
    height: 50vh;
  }
  .container-log .forms-container .form-control {
    position: absolute;
    height: 50vh;
  }
  .container-log .forms-container .form-control.signup-form {
    left: 0%;
    margin-top: 70px;
  }
  .container-log .intros-container {
    order: 1;
    width: 100%;
    left: 0%;
    height: 40vh;
  }
  .container-log .intros-container .intro-control {
    position: absolute;
    height: 40vh;
  }

  .change .forms-container .form-control.signup-form {
    transform: translateX(0%);
  }
  .change .forms-container .form-control.signin-form {
    transform: translateX(0%);
  }
  .change .intros-container .intro-control {
    transform: translateX(0%);
  }
}

.alert {
  padding: 5px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
  padding: 1rem;
  margin: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.forgot_pass {
  margin: 0px 80px;
  color: #155724;
  text-decoration: none;
}

.forgot_pass:hover {
  font-weight: bold;
  transition: 0.5s;
}

.alert.alert-danger {
  border: 2px solid #ffb2a5 !important;
  background-color: #ffe0db !important;
  color: #ff3e1d !important;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.background-page {
  background-image: url('/bg.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  filter: blur(10px);
  position: absolute;
}

input::placeholder {
  font-size: 12px;
}

input {
  font-size: 12px !important;
  padding-left: 10px !important;
}


.sub-item::before {
  width: 100px;
  height: 100px;
  background-color: red;
}

.sidebar .nav-collapse li a .sub-item:before, 
.sidebar[data-background-color=white] .nav-collapse li a .sub-item:before {
    content: '';
    width: 3px !important;
    height: 3px !important;
    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-bottom: 8px solid blue /* Màu xanh */ !important;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .nav-collapse li a .sub-item {
  padding-left: 20px; /* Khoảng cách từ biểu tượng đến văn bản */
}

.sidebar .nav-collapse li a i {
  font-size: 12px; /* Kích thước biểu tượng */
  color: blue; /* Màu sắc biểu tượng */
  position: absolute; /* Căn chỉnh biểu tượng */
  left: -15px; /* Khoảng cách từ bên trái */
  top: 50%; /* Vị trí giữa theo chiều dọc */
  transform: translateY(-50%);
}

/* schedule */

body{margin-top:20px;}
.schedule-table table thead tr {
background: #86d4f5;
}
.schedule-table table thead th {
padding: 25px 50px;
color: #fff;
text-align: center;
font-size: 20px;
font-weight: 800;
position: relative;
border: 0;
}
.schedule-table table thead th:before {
content: "";
width: 3px;
height: 35px;
background: rgba(255, 255, 255, 0.2);
position: absolute;
right: -1px;
top: 50%;
transform: translateY(-50%);
}
.schedule-table table thead th.last:before {
content: none;
}
.schedule-table table tbody td {
vertical-align: middle;
border: 1px solid #e2edf8;
font-weight: 500;
padding: 30px;
text-align: center;
}
.schedule-table table tbody td.day {
font-size: 22px;
font-weight: 600;
background: #f0f1f3;
border: 1px solid #e4e4e4;
position: relative;
transition: all 0.3s linear 0s;
min-width: 165px;
}
.schedule-table table tbody td.active {
position: relative;
z-index: 10;
transition: all 0.3s linear 0s;
min-width: 165px;
}
.schedule-table table tbody td.active h4 {
font-weight: 700;
color: #000;
font-size: 20px;
margin-bottom: 5px;
}
.schedule-table table tbody td.active p {
font-size: 16px;
line-height: normal;
margin-bottom: 0;
}
.schedule-table table tbody td .hover h4 {
font-weight: 700;
font-size: 20px;
color: #ffffff;
margin-bottom: 5px;
}
.schedule-table table tbody td .hover p {
font-size: 16px;
margin-bottom: 5px;
color: #ffffff;
line-height: normal;
}
.schedule-table table tbody td .hover span {
color: #ffffff;
font-weight: 600;
font-size: 18px;
}
.schedule-table table tbody td.active::before {
position: absolute;
content: "";
min-width: 100%;
min-height: 100%;
transform: scale(0);
top: 0;
left: 0;
z-index: -1;
border-radius: 0.25rem;
transition: all 0.3s linear 0s;
}
.schedule-table table tbody td .hover {
position: absolute;
left: 50%;
top: 50%;
width: 120%;
height: 120%;
transform: translate(-50%, -50%) scale(0.8);
z-index: 99;
background: #86d4f5;
border-radius: 0.25rem;
padding: 25px 0;
visibility: hidden;
opacity: 0;
transition: all 0.3s linear 0s;
}
.schedule-table table tbody td.active:hover .hover {
transform: translate(-50%, -50%) scale(1);
visibility: visible;
opacity: 1;
}
.schedule-table table tbody td.day:hover {
background: #86d4f5;
color: #fff;
border: 1px solid #86d4f5;
}
@media screen and (max-width: 1199px) {
.schedule-table {
display: block;
width: 100%;
overflow-x: auto;
}
.schedule-table table thead th {
padding: 25px 40px;
}
.schedule-table table tbody td {
padding: 20px;
}
.schedule-table table tbody td.active h4 {
font-size: 18px;
}
.schedule-table table tbody td.active p {
font-size: 15px;
}
.schedule-table table tbody td.day {
font-size: 20px;
}
.schedule-table table tbody td .hover {
padding: 15px 0;
}
.schedule-table table tbody td .hover span {
font-size: 17px;
}
}
@media screen and (max-width: 991px) {
.schedule-table table thead th {
font-size: 18px;
padding: 20px;
}
.schedule-table table tbody td.day {
font-size: 18px;
}
.schedule-table table tbody td.active h4 {
font-size: 17px;
}
}
@media screen and (max-width: 767px) {
.schedule-table table thead th {
padding: 15px;
}
.schedule-table table tbody td {
padding: 15px;
}
.schedule-table table tbody td.active h4 {
font-size: 16px;
}
.schedule-table table tbody td.active p {
font-size: 14px;
}
.schedule-table table tbody td .hover {
padding: 10px 0;
}
.schedule-table table tbody td.day {
font-size: 18px;
}
.schedule-table table tbody td .hover span {
font-size: 15px;
}
}
@media screen and (max-width: 575px) {
.schedule-table table tbody td.day {
min-width: 135px;
}
}

.collapse .nav-collapse li a:not(.active) {
  display: none;
}

::-webkit-scrollbar {
  display: none;
}

html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}

.text-cancel {
  color: red;
  font-weight: bold;
}

.text-success {
  color: greenyellow;
  font-weight: bold;
}

input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
