body {
    background-color: #fff;
}
html { color-scheme: light; }

.form-box {
    max-width: 520px;
    margin: 0 auto;
}

.gray-box {
    background: #ccc;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;
}

.error {
    color: red;
}

.success {
    color: green;
}

.rules-card {
    background: #f9fbfd;
    border: 1px solid #d0e3ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.rules-card li {
    margin-bottom: 12px;
    font-size: 15px;
}

.rules-card li i {
    font-size: 1.1rem;
    margin-right: 8px;
}

.usage-rules-title {
    text-align: center;
    font-size: 1.25rem;
    /* khoảng 20px */
    font-weight: 600;
}

.qr-container {
    text-align: center;
}

.qr-title {
    font-weight: 600;
    /* margin-bottom: 10px; */
}

.qr-image-wrapper {
    display: flex;
    justify-content: center;
}

.qr-image-wrapper img {
    max-width: 150px;
    height: auto;
    display: block;
}

.qr-note {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 10px;
}

.login-face {
    text-align: center;
    display: inline-block;
    width: 100%;
    background-color: #1877F2;
    border: none;
    padding: 0.6rem 1rem;
}

.login-google {
    text-align: center;
    display: inline-block;
    width: 100%;
    background-color: #DB4437;
    border: none;
    padding: 0.6rem 1rem;
}

.my-google-captcha {
    justify-content: center;
    text-align: center;
    display: flex;
}

/* page menu */
.meunu-logo {
    color: inherit;
    text-decoration: inherit;
    font-size: 26px;
    font-weight: bold;
}

.title-func {
    font-size: 1.7rem;
    /* background: linear-gradient(90deg, #005dff, #ff420a); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, .1); */
}




.card {
    border-radius: 0px;
    padding: 0 !important;
}

#form-message.success {
    color: #16a34a;
}

/* xanh */
#form-message.error {
    color: #dc2626;
}

/* đỏ  */
.equal-group .form-control {
    flex: 1 1 0;
    min-width: 0;
}


.equal-group .input-group-text {
    border-color: #d7dce3;
    background: #fff;
}

.equal-group .form-control:read-only {
    background: #fff;
    cursor: default;
}

.force-light, 
.force-light * {
  color-scheme: light !important;
}

.force-light input,
.force-light textarea,
.force-light select {
  background-color: #ffffff !important;
  color: #111827 !important;         /* text-gray-900 */
  border-color: #d1d5db !important;   /* border-gray-300 */
}

.force-light input::placeholder {
  color: #9ca3af !important;          /* placeholder-gray-400 */
}


.login-google { background: #db4437 !important; }
.login-face   { background: #1877f2 !important; }
.login-google, .login-face { color: #fff !important; }


.feature-box {
    background: #fff;
    border-radius: 0px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.feature-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #ff4d4f;
    text-transform: uppercase;
}

.feature-list li {
    font-size: 1rem;
    font-weight: 500;
    padding: 2px 0;
    border-bottom: 1px dashed #eee;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li strong {
    color: #333;
}

.feature-list li {
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    gap: 6px;
}

/* Dang can cook*/

.form-control {
    border-color: rgb(222, 226, 230) !important;
}

@keyframes fall {
  0%   { transform: translateY(-10px); opacity: 0; }
  50%  { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(5px); opacity: 0.8; }
}

.arrow-fall {
  display: inline-block;
  animation: fall 1.2s infinite;
}

.small-arrow {
  font-size: 1.5rem; /* nhỏ hơn fs-1 mặc định */
}

.tiktok-text-shadow{
  font: 900 clamp(28px,6vw,64px)/1.05 "Inter",system-ui;
  text-color:#0f172a;                 /* chữ trắng */
  letter-spacing:.5px;
  text-shadow: 
    1px 1px 0 rgba(238, 29, 82, 0.6),   /* hồng TikTok */
   -1px -1px 0 rgba(105, 201, 208, 0.6); /* cyan TikTok */

}

.top-hit {
    text-shadow: 
    -1px -1px 0 rgba(255, 255, 255, 0.6),  
     1px -1px 0 rgba(255, 255, 255, 0.6),
    -1px  1px 0 rgba(255, 255, 255, 0.6),
     1px  1px 0 rgba(255, 255, 255, 0.6);
}

 #co-mkt-message {
    display: inline-block;
    transform: translateX(100%); /* ban đầu nằm ngoài bên phải */
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
  }
  #co-mkt-message.show {
    transform: translateX(0); /* trượt vào */
    opacity: 1;
  }
  #co-mkt-message.hide {
    transform: translateX(-100%); /* trượt sang trái khi ẩn */
    opacity: 0;
  }

   .qty-chip {
       border-radius: 50rem !important;
       /* pill shape */
       padding: 0.35rem 0.9rem;
       font-weight: 500;
       font-size: 0.9rem;
       color: #495057;
       border: 1px solid #dee2e6;
       background-color: #fff;
       transition: all 0.2s ease-in-out;
   }

   .qty-chip:hover {
       background-color: #f0f8ff;
       /* xanh nhạt */
       border-color: #97a5baff;
       color: #cad8eeff;
       transform: translateY(-1px);
       box-shadow: 0 2px 6px rgba(13, 110, 253, .2);
   }

   .qty-chip.active {
       background-color: #bec6d3ff;
       border-color: #a6b3c6ff;
       color: #fff;
       box-shadow: 0 2px 8px rgba(154, 164, 177, 0.4);
   }