/* // public/client/css/cashback-style.css */
/* top search bar */
@media screen and (min-width: 769px) {
  .top-search {
    gap: 10px;
  }
  .bottom-menu-mobile {
    display: none;
  }
  .osahan-main-body {
    margin-top: 25px;
  }
}

@media screen and (max-width: 560px) {
  .bottom-menu-mobile {
    background: #fff;
    display: block;
    width: 100%;
    padding: 1.8vw;
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 1039;
    height: auto;
    border-top: 1px solid #cbcbcb;
  }

  .bottom-menu {
    display: flex;
    justify-content: space-evenly;
  }

  .bottom-menu-item {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }

  /* Footer */
  .footer-bottom {
    font-size: 14px;
  }
}

.card-header {
  background: linear-gradient(90deg, #f59e0b, #f39fb1);
}

/* Trang home */
.info-list-home {
  list-style: none;
  padding: 0;
}

/* Check đơn hàng thủ công */
.card-header-check-order,
.card-header-order,
.card-header-transactions {
  background-color: #ee4d2d33;
}
.input-group-order {
  align-items: center;
  width: 100%;
  gap: 10px;
}

.input-group-prepend {
  width: calc(100% - 150px);
  margin-top: 0.5rem;
}

.card-header:first-child {
  border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.input-check-order,
.input-order {
  background-color: #ededed35;
}

.id-oder {
  width: 180px;
}

.note-order {
  display: flex;
  color: var(--shopee-primary) !important;
  font-weight: bold;
  background-color: rgb(87, 252, 252);
  padding: 2px 5px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.btn-share {
  padding: 5px 10px !important;
}

.btn-buy {
  padding: 7px 14px !important;
}

.mobile-user-info.user-box {
  display: flex;
  align-items: center;
  margin-top: 1rem; /* tương đương mt-3 */
  padding: 0.5rem; /* tương đương p-2 */
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.modal-alert-header-shopee h3,
.modal-alert-header-shopee span {
  color: white !important;
}

.user-avatar {
  border-radius: 50%;
  margin-right: 0.5rem;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
}

.user-balance {
  font-size: 0.9rem;
  margin-top: 2px;
}

.order-list {
  padding: 6px 10px;
  border-radius: 5px;
}

.order-left {
  margin-right: 10px;
}
.order-icon {
  width: 36px;
  height: 36px;
}
.order-body {
  display: flex;
  align-items: center;
}
.order-title {
  font-weight: bold;
  color: #007bff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* Cho phép xuống dòng */
}
.order-code {
  gap: 5px;
  display: flex;
  font-size: 0.9rem;
  color: #666;
  align-items: center;
}
.btn-coppy {
  width: max-content;
}

.order-date {
  font-size: 0.8rem;
  color: gray;
}
.order-right {
  text-align: right;
}

.order-status {
  font-size: 0.8rem;
  color: gray;
}

/* ==== Page ( Oders - Withdraw - Transactions ) BEGIN ==== */
.card-body {
  padding: 1.25rem !important;
}

.card-withdraw {
  max-height: 400px;
}

.btn {
  padding: 5px 8px !important;
}
.search-order-list,
.check-order-list,
.search-history-transactions {
  background: linear-gradient(45deg, #ff904fff, #ff5521ff);
  color: #e3e3e3;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: bold;
}

.transactions-card,
.withdraw-card,
.order-card {
  align-items: center;
  background: #cff1ff;
  border-radius: 8px;
  padding: 5px 8px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.13);
}

.transactions-top,
.withdraw-top,
.order-top {
  display: flex;
  align-items: center;
}

.top-stt,
.top-img {
  margin-right: 10px;
}
.top-stt {
  width: 25px;
  height: 25px;
  min-width: 25px;
  background: linear-gradient(145deg, #98ff23ff, #53fd1bff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  color: #000;
}

.top-title {
  font-weight: bold;
  color: #007bff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal; /* Cho phép xuống dòng */
}

.transactions-body,
.withdraw-body {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

.body-left {
  gap: 5px;
  font-size: 0.9rem;
  color: #666;
  align-items: center;
}

.order-discount,
.withdraw-price,
.transactions-price {
  color: orange;
  font-weight: bold;
}

.withdraw-price,
.transactions-price {
  padding-bottom: 7px;
}

.text-info,
.text-success,
.text-danger {
  font-weight: bold;
  color: #ffffff !important;
  border-radius: var(--border-radius-sm) !important;
  padding: 6px 12px !important;
  font-size: 13px;
}

.text-info {
  background-color: #17a2b8 !important;
}

.text-success {
  background-color: #28a745 !important;
}

.text-danger {
  background-color: #dc3545 !important;
}

/* ==== Page ( Oders - Withdraw - Transactions ) END ==== */

/* ==== ( Profile - Menu Mobile ) BEGIN ==== */

.mobile-user-info-box,
.bg-avt-profile {
  background: linear-gradient(to bottom right, #ff512f, #f09819);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  text-align: center;
  color: white;
}

/* AVT */
.avatar-wrap .avatar-camera-btn {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ddd;
}
.avatar-wrap .avatar-camera-btn i {
  font-size: 18px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.profile-menu-item i {
  font-size: 20px;
  margin-right: 12px;
  width: 24px;
  text-align: center;
}

.icofont-simple-right {
  margin: 0 !important;
  font-size: 18px !important;
}

.money-menu-profile {
  font-weight: bold;
}

/* ==== ( Profile - Menu Mobile ) END ==== */

/* ==== FOOTER ==== */
/* Footer tổng */
.section-footer {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
}

/* Link trong footer */
.footer-link {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.footer-link:hover {
  color: #007bff;
}

/* Quốc kỳ */
.footer-flag {
  height: 22px;
  margin: 0 6px;
  vertical-align: middle;
}

/* Responsive font-size */
.footer-info,
.footer-vn {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  /* nhỏ nhất 13.6px, lớn nhất 16px, auto co giãn theo viewport */
  line-height: 1.6;
}

/* Tạo cảm giác spacing thoáng */
.footer-info span {
  display: inline-block;
  margin-bottom: 6px;
}

.footer-vn {
  font-style: italic;
  color: #555;
  margin-top: 6px;
}

/* Mobile căn giữa */
@media (max-width: 768px) {
  .footer-left {
    text-align: center;
  }
  .footer-info span {
    display: block;
    margin-bottom: 8px;
  }
  .footer-vn {
    font-size: 0.9rem;
  }
}
