@CHARSET "UTF-8";

.requiredLabel:after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* lock screen */
#lock {
	z-index: 10000;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000;
	text-align: center;
	display: none;
	opacity: 0.3;
	vertical-align: middle;
}

#lock img {
	position: absolute;
	top: 50%;
	left: 50%;
}

/* =========================
   MODAL STYLE
========================= */

.modal-content {
    border-radius: 12px;
    border: none;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #F4F8F6 100%);
}

/* Header */
.modal-header {
    border-bottom: 1px solid #E3E8EC;
    padding: 18px 22px;
    background: linear-gradient(180deg, #00A859, #006B3F);
    color: #ffffff;
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Close icon */
.modal-header .close {
    color: #E6F4EA;
    opacity: 0.85;
}
.modal-header .close:hover {
    opacity: 1;
}

/* Body */
.modal-body {
    padding: 22px;
    font-size: 15px;
    color: #2A2A2A;
    line-height: 1.7;
}

/* Footer */
.modal-footer {
   border-top: 1px solid #E3E8EC;
    padding: 15px 22px;
}

/* =========================
   MOBILE TWEAK
========================= */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 15px;
    }
    .modal-title {
        font-size: 16px;
    }
}


/* ================================================= */
/*     LUXURY FORM CONTROL – INPUT & SELECTPICKER   */
/* ================================================= */

/* ========== INPUT & TEXTAREA ========== */

input.form-control,
textarea.form-control {
    border-radius: 12px !important;
    border: 1px solid #d6e4df;
    background: #ffffff;
    color: #1f2d2a;
    font-weight: 500;
    box-shadow: none;
    transition: all 0.25s ease;
}

/* Placeholder */
input.form-control::placeholder,
textarea.form-control::placeholder {
    color: #9bb5ad;
}

/* Hover */
input.form-control:hover,
textarea.form-control:hover {
    border-color: #007a5a;
    background: #ffffff;
}

/* Focus */
input.form-control:focus,
textarea.form-control:focus {
    border-color: #005c45;
    box-shadow: 0 0 0 3px rgba(0,122,90,0.18);
    background: #ffffff;
    outline: none;
}

/* ========== SELECTPICKER BUTTON ========== */

.bootstrap-select .btn,
.bootstrap-select > .dropdown-toggle {
    border-radius: 12px !important;
    border: 1px solid #d6e4df !important;
    background: #ffffff !important;
    color: #1f2d2a !important;
    font-weight: 600;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

/* Hover */
.bootstrap-select .btn:hover,
.bootstrap-select > .dropdown-toggle:hover {
    border-color: #007a5a !important;
    background: #ffffff !important;
}

/* Focus / Open */
.bootstrap-select .btn:focus,
.bootstrap-select > .dropdown-toggle:focus,
.bootstrap-select.open > .dropdown-toggle {
    border-color: #005c45 !important;
    box-shadow: 0 0 0 3px rgba(0,122,90,0.18) !important;
    background: #ffffff !important;
    outline: none !important;
}

/* ========== DROPDOWN MENU ========== */

.bootstrap-select .dropdown-menu {
    border-radius: 14px;
    border: 1px solid #d6e4df;
    box-shadow: 0 14px 35px rgba(0,92,69,0.18);
    padding: 6px;
    background: #ffffff;
}

/* Item */
.bootstrap-select .dropdown-menu li a {
    border-radius: 10px;
    padding: 8px 12px;
    color: #1f2d2a;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Hover */
.bootstrap-select .dropdown-menu li a:hover {
    background: #e8f4f0;
    color: #005c45;
}

/* Active / Selected */
.bootstrap-select .dropdown-menu li.active a,
.bootstrap-select .dropdown-menu li.selected a {
    background: linear-gradient(135deg, #007a5a, #005c45) !important;
    color: #ffffff !important;
    font-weight: 700;
}

/* Focus option */
.bootstrap-select .dropdown-menu li.active a:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0,92,69,0.2);
}

/* ===== MONEY INPUT ===== */

.money-preview {
    margin-left: 8px;
    color: #005c45;
    font-weight: 700;
    font-size: 15px;
}

.amount-wrapper {
    position: relative;
}

.amount-input {
    padding-right: 60px;
}

.amount-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c8f86;
    pointer-events: none;
    font-size: 14px;
}


/* === Nhãn VIP (phiên bản tươi, nổi bật, bo đều 4 góc) === */
.vip-badge {
  position: absolute;
  top: 6px;   /* Sát mép trên */
  left: 6px;  /* Sát mép trái */
  padding: 0px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  background: 
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(0,0,0,0.20)) padding-box,
    linear-gradient(45deg, #0f5c45, #002f24) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.25),
    0 3px 8px rgba(0,0,0,0.35);
  transform: translateZ(0);
  transition: all 0.3s ease;
}

/* Ánh sáng quét nhẹ, rõ hơn để nổi bật hơn trên nền tươi */
.vip-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
    background: linear-gradient(
    120deg,
    rgba(255,255,255,0.45),
    rgba(255,255,255,0)
  );
  opacity: 0.45;
  transform: skewX(-25deg);
  animation: shine 3s infinite;
  opacity: 0.45;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -70%; }
  50% { left: 130%; }
  100% { left: 130%; }
}

/* Hover – sáng hơn, nhô nhẹ */
.item-thumb:hover .vip-badge {
  filter: brightness(1.15);
  transform: scale(1.05);
}

/* === Các cấp độ VIP – tươi, rực rỡ hơn === */
.vip-diamond {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(0,0,0,0.18)) padding-box,
    linear-gradient(45deg, #18a97a, #004f3a) border-box;
  box-shadow: 0 0 6px rgba(0,120,85,0.35);
}

.vip-gold {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(0,0,0,0.18)) padding-box,
    linear-gradient(45deg, #f2d27a, #b68b1f) border-box;
  box-shadow: 0 0 6px rgba(182,139,31,0.35);
}

.vip-silver {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.10), rgba(0,0,0,0.15)) padding-box,
    linear-gradient(45deg, #e5e8ea, #9fa6ad) border-box;
  box-shadow: 0 0 5px rgba(180,180,180,0.3);
}

.normal-badge {
  background: rgba(0,0,0,0.4);
  color: #eee;
  font-weight: 500;
  border: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  text-transform: none;
}

.normal-badge i {
  color: #ccc;
}

/* === Icon riêng từng cấp – tươi hơn === */
.vip-diamond i {   color: #e6fff6;
  text-shadow: 0 0 3px rgba(255,255,255,0.5); }
.vip-gold i    {   color: #fff6d6;
  text-shadow: 0 0 3px rgba(255,230,170,0.6); }
.vip-silver i  {   color: #f8f9fa;
  text-shadow: 0 0 2px rgba(220,220,220,0.6); }

.vip-badge i {
  font-size: 12px;
}

/* === Responsive fix – giữ nhãn ở góc trên trái kể cả trên iPad/mobile === */
@media (max-width: 768px) {
  .vip-badge {
    top: 5px;
    left: 5px;
    padding: 0px 10px;
    font-size: 10.5px;
  }
}

@media (max-width: 480px) {
  .vip-badge {
    top: 4px;
    left: 4px;
    padding: 0px 8px;
    font-size: 9px;
  }
}

.user-login {
   white-space: nowrap;
   color:#006B3F;
   transition:all .2s ease;
}

.user-login .glyphicon {
  font-size: 30px; 
  vertical-align: middle;
  margin-top: 0px;
}

p.errorMessage {
	background-color: #ffffff;
	color: #ff0000;
	padding: 5px 5px 5px 40px;
	margin: 5px 0px 5px 0px;
	border: 1px dotted #ff0000;
	background-image: url("../images/icon/error.gif");
	background-repeat: no-repeat;
	background-position: 10px center;
}

.errorMessage {
	color: #ff0000;
}

p.successMessage {
	background-color: #ffffff;
	color: #00D600;
	font-weight: bold;
	padding: 5px 5px 5px 40px;
	margin: 5px 0px 5px 0px;
	border: 1px dotted #00DD01;
	background-image: url("../images/icon/success.gif");
	background-repeat: no-repeat;
	background-position: 10px center;
}

/* ON/OFF switch*/
.agree-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
}

/* Toggle */
.toggle-switch {
    width: 46px;
    height: 24px;
    background: #DDEEE5;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.25s ease;
    touch-action: manipulation; 
}

.toggle-switch::after {
    content: "";
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.25s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.25);
}

/* Khi bật ON */
.toggle-switch.on {
    background: linear-gradient(135deg, #00A859, #006B3F);
}

.toggle-switch.on::after {
    left: 24px;
}
        
  /* Overlay mờ + blur + flex center */
    #loading-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(255,255,255,0.7);
        backdrop-filter: blur(3px); /* blur nền */
        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        font-size: 18px;
        color: #333;

        opacity: 1;          /* hiển thị từ đầu */
        visibility: visible;  
        pointer-events: all;
        transition: opacity 0.3s ease, visibility 0.3s;
    }

    #loading-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Icon xoay */
    .loader {
        border: 6px solid #f3f3f3;
        border-top: 6px solid #3498db;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin-bottom: 15px;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Tinh chỉnh chữ trạng thái */
    #overlay-text {
        font-weight: bold;
        font-size: 18px;
        color: #333;
    }


.footer-luxury {
  background: linear-gradient(180deg, #005c45 0%, #00382b 100%);
  padding: 50px 0 25px;
  color: #e6f2ef;
  position: relative;
  border-top: 2px solid rgba(201,162,39,0.4); /* giảm vàng */
}

.footer-title {
  color: #ffffff; /* chuyển sang trắng sang */
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 3px;
  background: linear-gradient(
      to right,
      #0aa37f,
      #2fd4aa,
      #0aa37f
  ); /* đổi sang emerald */
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(10,163,127,0.6);
}

/* Icon + text */
.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-list a {
  color: #d8e6e1;
  text-decoration: none;
  transition: color .3s ease;
}

.footer-list a:hover {
  color: #2fd4aa; /* emerald sáng khi hover */
}

/* ICON giảm vàng */
.footer-list i,
.footer-luxury i {
  color: #1fb38a; /* emerald thay vàng */
  margin-right: 8px;
  width: 18px;
  text-shadow: 0 0 6px rgba(31,179,138,0.6);
}

/* Dòng bản quyền */
.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #cfe3dc;
  font-size: 13px;
}


.lux-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.lux-card {
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,92,69,.18);
    overflow: hidden;
    transition: all .4s ease;
    border: 1px solid rgba(0,92,69,.12);
    background: #ffffff;
}

.lux-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0,92,69,.25);
}

.lux-header {
    position: relative;
    padding: 15px 20px;
    text-align: center;
    background: linear-gradient(180deg, #007a5a, #005c45);
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.lux-header h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    color: #ffffff;
}

/* ===== Toggle button ===== */
.lux-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(255,255,255,.15);
    color: #ffffff;
    cursor: pointer;
    transition: all .25s ease;
}

.lux-toggle:hover {
    background: rgba(255,255,255,.25);
    box-shadow: 0 0 10px rgba(255,255,255,.25);
}

.lux-toggle:focus {
    outline: none;
}

.lux-toggle i {
    font-size: 14px;
    line-height: 30px;
}

.lux-body {
    transition: opacity .2s ease;
    padding: 26px 20px;
    background: #f7fbf9;
}

.lux-body.lux-hide {
    opacity: 0;
    pointer-events: none;
}

.avatar-box {
    text-align: center;
    margin-bottom: 25px;
}

.avatar {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    border: 3px solid #005c45;
    box-shadow: 0 0 20px rgba(0,92,69,.25);
    object-fit: cover;
    background: #fff;
}

.btn-change-avatar {
    margin-top: 10px;
    font-size: 12px;
    background: transparent;
    color: #005c45;
    border: 1px solid rgba(0,92,69,.4);
    border-radius: 20px;
    padding: 6px 16px;
}

.btn-change-avatar:hover {
    background: rgba(0,92,69,.08);
}

.form-control:focus {
    border-color: #005c45;
    box-shadow: 0 0 8px rgba(0,92,69,.35);
}

.lux-divider {
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0,92,69,.5),
        transparent
    );
    margin: 6px 0;
}

.btn-lux {
    background: linear-gradient(135deg, #007a5a, #005c45);
    border: none;
    color: #ffffff;
    font-weight: 500;
    border-radius: 30px;
    padding: 11px 20px;
    box-shadow: 0 6px 18px rgba(0,92,69,.35);
}

.btn-lux:hover {
    opacity: .92;
}

.btn-luxury-secondary {
    background: #ffffff;
    border: 1px solid rgba(0,92,69,.25);
    color: #005c45;
    padding: 8px 18px;
    border-radius: 20px;
}

.btn-luxury-secondary:hover {
    background: #f0f7f4;
}

.btn-yellow-lux {
    position: relative;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 14px;

    color: #ffffff;
    border-radius: 999px;

    background: linear-gradient(180deg, #007a5a 0%, #005c45 100%);
    border: 1px solid #004d3a;

    box-shadow: 
        0 8px 20px rgba(0,92,69,.35),
        inset 0 1px 0 rgba(255,255,255,.25);

    overflow: hidden;
    transition: all 0.3s ease;
}

/* ánh quét nhẹ corporate */
.btn-yellow-lux::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.7s;
}

.btn-yellow-lux:hover::before {
    left: 130%;
}

.btn-yellow-lux:hover {
    transform: translateY(-1px);

    box-shadow: 
        0 12px 28px rgba(0,92,69,.45);
}

.btn-yellow-lux:active {
    transform: translateY(0);
    box-shadow: 
        0 6px 14px rgba(0,92,69,.35);
}



.lux-footer {
    color: #cde5f2;
    text-align: center;
    font-size: 12px;
    margin-top: 18px;
}

/* ===== DATEPICKER WRAPPER ===== */

.ui-datepicker {
    width: 280px;
    padding: 12px;

    border-radius: 12px;
    border: 1px solid #e6edf2;

    background: #fff;

    box-shadow: 0 12px 30px rgba(0,0,0,.15);

    font-size: 14px;
}

/* ===== HEADER ===== */

.ui-datepicker-header {

    background: linear-gradient(135deg,#007a3d,#009b4d);
    color: #fff;

    border-radius: 8px;

    padding: 8px;

    border: none;
}

/* title */
.ui-datepicker-title {
    font-weight: 600;
}

/* prev next */

.ui-datepicker-prev,
.ui-datepicker-next {

    top: 6px;

    cursor: pointer;
}

.ui-datepicker-prev span,
.ui-datepicker-next span{
    filter: invert(1);
}

/* ===== TABLE ===== */

.ui-datepicker table {
    margin-top: 8px;
}

/* day name */

.ui-datepicker th {

    font-size: 12px;
    font-weight: 600;
    color: #7a8a99;

    padding: 6px 0;
}

/* day cell */

.ui-datepicker td a {

    border-radius: 8px;

    padding: 6px;

    text-align: center;

    transition: .15s;
}

/* hover */

.ui-datepicker td a:hover {

    background: #e6f4ea;

    color: #007a3d;
}

/* today */

.ui-datepicker-today a {

    background: #e6f4ea;

    color: #007a3d;

    font-weight: 600;
}

/* selected */

.ui-datepicker-current-day a {

    background: #009b4d;

    color: #fff;

    font-weight: 600;
}

/* disabled */

.ui-datepicker-unselectable span {

    color: #c4cdd5;
}
