/* account-info.css - layout sidebar + content */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #f4f7fb;
  color: #2b3440;
}

.dashboard-container {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg,#1f2a44 0%, #172033 100%);
  color: #fff;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.sidebar-header h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.menu {
  flex: 1;
  overflow-y: auto;
}

.menu ul { list-style: none; padding: 0; margin: 0; }

.menu-item {
  margin-bottom: 8px;
}

.menu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: #e6eef9;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.04);
}

.submenu {
  display: none;
  margin-top: 6px;
  padding-left: 8px;
}

.submenu li {
  margin-bottom: 6px;
}

.submenu li a {
  display: block;
  padding: 8px 10px;
  color: #cfdff6;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

.submenu li a:hover {
  background: rgba(255,255,255,0.03);
  color: #ffffff;
}

.menu-item.open > .menu-toggle {
  background: rgba(255,255,255,0.03);
}

/* active link */
.submenu li a.active {
  background: #2d4370;
  color: #fff;
}

/* logout */
.logout-section {
  margin-top: 18px;
  text-align: center;
}
#logoutBtn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #e35b5b;
  color: #fff;
  cursor: pointer;
}
#logoutBtn:hover { opacity: 0.95; }

/* CONTENT */
.content {
  flex: 1;
  background: #fff;
  padding: 28px 36px;
  min-height: 100vh;
}

.content-header h1 {
  margin: 0 0 14px 0;
  font-size: 22px;
  color: #152033;
}

.page-content .muted {
  color: #6b7280;
}

/* info card */
.info-card {
  background: #f8fbff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(20,35,60,0.04);
}

.info-card .row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.04);
}
.info-card .row:last-child { border-bottom: none; }
.info-card .label { color: #4b5563; font-weight: 600; }
.info-card .value { color: #111827; }


.avatar-box {
  text-align: center;
  margin-bottom: 15px;
}

.avatar-box .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
}


/* tx table */
.tx-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.tx-table th, .tx-table td {
  padding: 10px;
  border-bottom: 1px solid #e6eef7;
  text-align: left;
}
.tx-table th { background: #fbfdff; font-weight: 700; color: #334155; }

/* Responsive */
@media (max-width: 900px) {
  .sidebar { width: 200px; }
  .content { padding: 20px; }
}
@media (max-width: 600px) {
  .dashboard-container { flex-direction: column; }
  .sidebar { width: 100%; display: block; }
}

/* css cửa hàng số 2 */

/* =========================================================
   🎮 STORE 2 - CSS RIÊNG (TRÁNH TRÙNG CLASS KHÁC)
   ========================================================= */

/* Vùng chứa card */
.store2 .info-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  padding: 20px;
  margin-top: 10px;
  font-family: "Segoe UI", Roboto, sans-serif;
  animation: fadeInStore2 0.3s ease-in-out;
}

/* Tiêu đề và mô tả */
.store2 .info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.store2 .info-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Bảng chứa dữ liệu */
.store2 .order-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}

.store2 .order-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  color: #1f2937;
}

/* Header của bảng */
.store2 .order-table thead th {
  background: linear-gradient(180deg, #10b981, #059669);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

/* Các dòng dữ liệu */
.store2 .order-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}

/* Hover dòng */
.store2 .order-table tbody tr:hover {
  background-color: #f9fafb;
}

/* Căn giữa nội dung */
.store2 .text-center {
  text-align: center;
}

/* Màu đỏ khi lỗi */
.store2 .text-danger {
  color: #dc2626;
}

/* Nút (nếu cần thêm sau này) */
.store2 .btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background 0.2s;
}

.store2 .btn-info {
  background: #2563eb;
  color: #fff;
}
.store2 .btn-info:hover {
  background: #1d4ed8;
}

.store2 .btn-success {
  background: #16a34a;
  color: #fff;
}
.store2 .btn-success:hover {
  background: #15803d;
}

/* Hiệu ứng load nhẹ */
@keyframes fadeInStore2 {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .store2 .info-card {
    padding: 14px;
  }
  .store2 .order-table {
    min-width: 600px;
    font-size: 13px;
  }
}


/* ================== Store 3 Gaming Style ================== */
.store3 .info-card {
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px;
  margin: 15px 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), 0 0 10px rgba(255, 0, 255, 0.2);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
}

.store3 .info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #0ff, 0 0 4px #f0f;
}

.store3 .info-card p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #ccc;
}

.store3 .order-table-wrapper {
  overflow-x: auto;
}

.store3 .order-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.store3 .order-table th,
.store3 .order-table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.store3 .order-table th {
  background: linear-gradient(135deg, #0ff, #f0f);
  color: #000;
  text-shadow: none;
  font-weight: bold;
  border-radius: 8px 8px 0 0;
}

.store3 .order-table tr:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.store3 .order-table td {
  background: rgba(30, 30, 50, 0.6);
  border-radius: 6px;
  margin: 2px;
}

.store3 .order-table .text-center {
  color: #f0f0f0;
  font-style: italic;
}

.store3 button {
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  transition: all 0.3s ease;
}

.store3 button.view-order {
  background: linear-gradient(135deg, #ff0, #f80);
  color: #000;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

.store3 button.view-order:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 200, 0, 0.8);
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
  .store3 .order-table th,
  .store3 .order-table td {
    padding: 8px 6px;
    font-size: 0.85rem;
  }

  .store3 .info-card {
    padding: 15px;
  }

  .store3 .order-table {
    min-width: 500px;
  }
}

@media (max-width: 480px) {
  .store3 .order-table {
    min-width: 400px;
  }
  .store3 .info-card h3 {
    font-size: 1.3rem;
  }
  .store3 .order-table th,
  .store3 .order-table td {
    padding: 6px 4px;
    font-size: 0.75rem;
  }
}




/* xác minh 2 bước 2fa */
.security-section .btn {
  background: #007bff;
  color: #fff;
  transition: background 0.2s;
}
.security-section .btn:hover {
  background: #0056b3;
}
.security-section .status-box {
  font-weight: 500;
  margin-bottom: 10px;
}

.wallet-card {
  text-align: center;
  padding: 20px;
}
.wallet-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wallet-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}
.wallet-balance {
  margin-top: 15px;
  font-size: 20px;
  font-weight: bold;
  color: #2ecc71;
}
.wallet-note {
  margin-top: 10px;
  font-size: 14px;
  color: #888;
}

.wallet-action {
  margin-top: 15px;
  font-size: 15px;
}
.wallet-action a.topup-link {
  color: #007bff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.wallet-action a.topup-link:hover {
  color: #0056b3;
  text-decoration: underline;
}





/* settings tài khoản css */
.settings-section {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}
.setting-group {
  margin-bottom: 15px;
}
.setting-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}
.setting-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 5px;
}
.setting-group .btn {
  background: #4CAF50;
  color: #fff;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.setting-group .btn:hover {
  background: #43a047;
}
.avatar-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}
.suggested-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s, box-shadow 0.2s;
}
.suggested-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}


/* 🎨 Tùy chỉnh nút SweetAlert2 cho custom avatar */
.swal2-confirm-btn {
  background: linear-gradient(135deg, #00b894, #00cec9);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease-in-out;
}
.swal2-confirm-btn:hover {
  background: linear-gradient(135deg, #00cec9, #00b894);
  transform: scale(1.05);
}

.swal2-cancel-btn {
  background: linear-gradient(135deg, #d63031, #ff7675);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease-in-out;
}
.swal2-cancel-btn:hover {
  background: linear-gradient(135deg, #ff7675, #d63031);
  transform: scale(1.05);
}


.setting-group input[type="password"] {
  display: block;
  margin-bottom: 5px;
}
.btn-danger {
  background: #e74c3c;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.btn-danger:hover {
  background: #c0392b;
}




