@charset "UTF-8";
/* <!-- Button trigger -->
 <button class="js-btn-open-modal" data-modal="modal-example">
   Mở modal
 </button>

 <!-- Modal -->
 <div class="modal-custom" id="modal-example">
   <div class="modal-custom__overlay"></div>

   <div class="modal-custom__dialog">
     <button class="modal-custom__close">&times;</button>

     <div class="modal-custom__header">
       <h3 class="modal-custom__title">Tiêu đề Modal</h3>
     </div>

     <div class="modal-custom__body">
       <p>Nội dung modal đặt ở đây.</p>
     </div>

     <div class="modal-custom__footer">
       <button class="modal-custom__btn modal-custom__btn--cancel">
         Hủy
       </button>
       <button class="modal-custom__btn modal-custom__btn--confirm">
         Xác nhận
       </button>
     </div>
   </div>
 </div>
*/
/* ===== MODAL ===== */
.modal-custom {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}
.modal-custom.is-open {
  display: flex;
}
.modal-custom__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.modal-custom__dialog {
  position: relative;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  margin: 0;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease;
  z-index: 1;
}
.modal-custom__dialog.xl {
  max-width: 1200px;
}
.modal-custom__dialog.tb {
  max-width: 1024px;
}
.modal-custom__dialog.lg {
  max-width: 860px;
}
.modal-custom__dialog.md {
  max-width: 736px;
}
.modal-custom__dialog.sm {
  max-width: 500px;
}
.modal-custom__dialog.xs {
  max-width: 360px;
}
.modal-custom__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}
.modal-custom__header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}
.modal-custom__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.modal-custom__body {
  color: #333;
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 140px);
}
.modal-custom__footer {
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}
.modal-custom__btn {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.modal-custom__btn--cancel {
  background: #e5e7eb;
}
.modal-custom__btn--confirm {
  background: #2563eb;
  color: #fff;
}

/* ===== FILTER MODAL ===== */
.filter-modal {
  /* Tabs */
  /* Tab Panels */
  /* Checkbox */
}
.filter-modal__dialog {
  max-width: 860px;
  margin: 8vh auto;
  border-radius: 16px;
}
.filter-modal__tabs {
  display: flex;
  gap: 12px;
  padding: 0 5px 15px;
  border-bottom: 1px solid #eee;
  overflow-x: auto;
  margin-bottom: 15px;
}
.filter-modal__tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-modal__tab:hover {
  border-color: #2563eb;
  color: #2563eb;
}
.filter-modal__tab.is-active {
  border-color: #2563eb;
  color: #2563eb;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.1);
}
.filter-modal__panel {
  display: none;
}
.filter-modal__panel.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.filter-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.filter-modal__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-modal__option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.filter-modal__option input {
  width: 18px;
  height: 18px;
  border: 2px solid #666;
}
.filter-modal__label {
  line-height: 1.4;
}

/* Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ===== LOGIN MODAL ===== */
.login-modal__dialog {
  max-width: 1000px;
  width: 90%;
  max-height: 90vh;
  padding: 0;
  overflow: hidden;
}
.login-modal__content {
  display: flex;
  max-height: 90vh;
  overflow: hidden;
}
.login-modal__image {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
  display: none;
}
@media (min-width: 992px) {
  .login-modal__image {
    display: block;
  }
}
.login-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.login-modal__form {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
  min-height: 0;
}
.login-modal__form::-webkit-scrollbar {
  width: 6px;
}
.login-modal__form::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.login-modal__form::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}
.login-modal__form::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
@media (max-width: 991px) {
  .login-modal__form {
    padding: 30px 20px;
    max-height: 85vh;
  }
}
.login-modal__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}
.login-modal__logo-img {
  height: 40px;
  width: auto;
}
.login-modal__logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-1, #3b82f6);
}
.login-modal__welcome {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin: 0 0 8px 0;
}
.login-modal__instruction {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin: 0 0 32px 0;
}
.login-modal__form-content {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 0;
}
@media (max-width: 991px) {
  .login-modal__form-content {
    padding: 10px 0;
  }
}
.login-modal__field {
  margin-bottom: 20px;
}
.login-modal__label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}
.login-modal__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  transition: all 0.2s ease;
}
.login-modal__input:focus {
  outline: none;
  border-color: var(--color-1, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.login-modal__input::placeholder {
  color: #9ca3af;
}
.login-modal__password-wrapper {
  position: relative;
}
.login-modal__toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.2s ease;
}
.login-modal__toggle-password:hover {
  color: #374151;
}
.login-modal__toggle-password i {
  font-size: 20px;
}
.login-modal__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 480px) {
  .login-modal__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
.login-modal__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  line-height: 1.5;
}
.login-modal__checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-1, #3b82f6);
}
.login-modal__checkbox span {
  user-select: none;
}
.login-modal__link {
  font-size: 14px;
  color: var(--color-1, #3b82f6);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}
.login-modal__link:hover {
  color: #1e40af;
  text-decoration: underline;
}
.login-modal__submit {
  width: 100%;
  padding: 12px 24px;
  background: #e5e7eb;
  color: #374151;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}
.login-modal__submit:hover {
  background: #d1d5db;
}
.login-modal__submit:active {
  transform: translateY(1px);
}
.login-modal__signup {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}
.login-modal__signup span {
  margin-right: 4px;
}
.login-modal__signup-link {
  color: var(--color-1, #3b82f6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.login-modal__signup-link:hover {
  color: #1e40af;
  text-decoration: underline;
}
.login-modal__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  line-height: 1.5;
}
.login-modal__checkbox input[type=checkbox] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}
.login-modal__checkbox span {
  flex: 1;
}
.login-modal__checkbox a {
  color: var(--color-1, #3b82f6);
  text-decoration: none;
}
.login-modal__checkbox a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
  .login-modal__dialog {
    width: 95%;
    max-width: 500px;
  }
  .login-modal__form {
    padding: 32px 24px;
    min-height: auto;
  }
  .login-modal__welcome {
    font-size: 20px;
  }
}
@media (max-width: 576px) {
  .login-modal__form {
    padding: 24px 16px;
  }
  .login-modal__logo {
    margin-bottom: 20px;
  }
  .login-modal__welcome {
    font-size: 18px;
  }
  .login-modal__instruction {
    font-size: 13px;
  }
  .login-modal__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
/*# sourceMappingURL=maps/modal.css.map */

.profile-header__user {
  position: relative;
}
.profile-header__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.profile-header__user-avatar:hover {
  transform: scale(1.05);
}
.profile-header__user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-header__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}
.profile-header__dropdown.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.profile-header__dropdown-user {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.profile-header__dropdown-avatar {
  position: relative;
  width: 50px;
  height: 50px;
  display: inline-block;
}
.profile-header__dropdown-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-header__dropdown-status {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}
.profile-header__dropdown-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-header__dropdown-email {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.profile-header__dropdown-status-group {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.profile-header__status-badge {
  flex: 1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.profile-header__status-badge--premium {
  background: #f97316;
  color: #ffffff;
}
.profile-header__status-badge--vip {
  background: #f59e0b;
  color: #ffffff;
}
.profile-header__status-badge--normal {
  background: #f3f4f6;
  color: #374151;
}
.profile-header__dropdown-points {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #eff6ff;
  font-size: 14px;
  color: #374151;
}
.profile-header__dropdown-points-value {
  font-weight: 600;
  color: var(--color-1, #3b82f6);
}
.profile-header__dropdown-menu {
  padding: 8px 0;
}
.profile-header__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s ease;
}
.profile-header__dropdown-item:hover {
  background-color: #f9fafb;
}
.profile-header__dropdown-item i {
  font-size: 20px;
  color: #6b7280;
  width: 24px;
  height: 24px;
}
.profile-header__dropdown-item span {
  flex: 1;
}
@media (max-width: 768px) {
  .profile-header__dropdown{
    width: 265px;
  }
}