/* ===== Page Specific Styles ===== */

/* Page Content */
.page-content {
  padding: 30px 0;
  min-height: calc(100vh - 200px);
}

/* Sidebar Card */
.sidebar-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 100px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.user-info h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.user-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-gray);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.sidebar-nav .nav-item:hover {
  background: var(--bg-input);
  color: var(--text-primary);
}

.sidebar-nav .nav-item.active {
  background: var(--primary-color);
  color: white;
}

.sidebar-nav .nav-item.text-danger:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* Content Card */
.content-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

/* Stat Cards */
.stat-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-color);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.bg-primary-subtle {
  background: rgba(68, 193, 70, 0.15);
  color: var(--primary-color);
}

.bg-success-subtle {
  background: rgba(25, 135, 84, 0.15);
  color: #198754;
}

.bg-warning-subtle {
  background: rgba(255, 193, 7, 0.15);
  color: #ffc107;
}

.bg-danger-subtle {
  background: rgba(220, 53, 69, 0.15);
  color: #dc3545;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted-gray);
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Form Styles */
.form-section {
  margin-top: 24px;
}

.section-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 12px 16px;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--bg-input);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(68, 193, 70, 0.1);
}

.form-control::placeholder {
  color: var(--muted-gray);
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.order-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
}

.order-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-details {
  flex: 1;
}

.order-details h6 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 600;
}

.order-date {
  font-size: 0.8rem;
  color: var(--muted-gray);
}

.order-status {
  text-align: right;
}

.order-amount {
  display: block;
  font-weight: 700;
  margin-top: 4px;
}

/* Footer Mini */
.footer-mini {
  background: var(--bg-secondary);
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-mini p {
  margin: 0;
  color: var(--muted-gray);
  font-size: 0.85rem;
}

/* ===== Settings Page ===== */
.settings-group {
  margin-bottom: 30px;
}

.settings-group:last-child {
  margin-bottom: 0;
}

.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-info h6 {
  margin: 0 0 4px;
  font-weight: 600;
}

.setting-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted-gray);
}

/* Toggle Switch */
.form-switch .form-check-input {
  width: 50px;
  height: 26px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.form-switch .form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-switch .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(68, 193, 70, 0.1);
}

/* ===== Refer & Earn Page ===== */
.referral-hero {
  background: var(--brand-gradient);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.referral-hero h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.referral-hero p {
  opacity: 0.9;
  margin-bottom: 24px;
}

.referral-code-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.referral-code {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.btn-copy {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy:hover {
  background: #f0f0f0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.step-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card h6 {
  font-weight: 600;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--muted-gray);
  margin: 0;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.referral-stat-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.referral-stat-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.referral-stat-card p {
  font-size: 0.85rem;
  color: var(--muted-gray);
  margin: 0;
}

/* ===== Gift Card Page ===== */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* ===== Checkout Page ===== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
}

@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

.product-hero {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
}

.product-hero-image {
  width: 200px;
  height: 250px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted-gray);
}

.meta-item i {
  color: var(--primary-color);
}

.denomination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.denomination-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.denomination-card:hover {
  border-color: var(--primary-color);
}

.denomination-card.selected {
  border-color: var(--primary-color);
  background: rgba(68, 193, 70, 0.1);
}

.denomination-card .amount {
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}

.denomination-card .price {
  font-size: 0.85rem;
  color: var(--muted-gray);
}

.order-summary {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 100px;
}

.summary-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
}

.summary-row .label {
  color: var(--text-secondary);
}

.discount-text {
  color: var(--primary-color);
}

.coupon-input {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.coupon-input input {
  flex: 1;
}

.btn-apply {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn-apply:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.btn-checkout {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  margin-top: 16px;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted-gray);
}

.secure-badge i {
  color: var(--primary-color);
}

/* Player ID Input */
.player-id-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.player-id-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.player-id-section .form-text {
  font-size: 0.8rem;
  color: var(--muted-gray);
  margin-top: 8px;
}

/* ===== Invoice Page ===== */
.invoice-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.invoice-card {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.invoice-id {
  font-size: 0.85rem;
  color: var(--muted-gray);
}

.invoice-header h5 {
  margin: 4px 0 0;
  font-weight: 600;
}

.invoice-body {
  display: flex;
  gap: 20px;
  align-items: center;
}

.invoice-product-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
}

.invoice-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invoice-details {
  flex: 1;
}

.invoice-details p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.invoice-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.invoice-amount {
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn-outline-primary {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 4rem;
  color: var(--muted-gray);
  margin-bottom: 20px;
}

.empty-state h4 {
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted-gray);
  margin-bottom: 20px;
}

/* ===== Support Page ===== */
.support-hero {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.support-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.support-hero p {
  color: var(--muted-gray);
  margin-bottom: 24px;
}

.support-search {
  max-width: 500px;
  margin: 0 auto;
}

.help-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: transform 0.3s ease;
}

.help-card:hover {
  transform: translateY(-4px);
}

.help-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(68, 193, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.help-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.help-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.help-card p {
  font-size: 0.9rem;
  color: var(--muted-gray);
  margin-bottom: 16px;
}

/* Accordion */
.accordion-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 16px 20px;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-secondary);
  color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-button::after {
  filter: invert(1);
}

[data-theme="light"] .accordion-button::after {
  filter: none;
}

.accordion-body {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0 20px 16px;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(68, 193, 70, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.3rem;
  color: var(--primary-color);
}

.contact-info h6 {
  margin: 0 0 4px;
  font-weight: 600;
}

.contact-info p {
  margin: 0;
  color: var(--text-primary);
}

.contact-info small {
  color: var(--muted-gray);
}

/* ===== Alerts Page ===== */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  position: relative;
}

.notification-item.unread {
  background: rgba(68, 193, 70, 0.05);
  border-color: var(--primary-color);
}

.notification-item.unread::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  bottom: 0;
  width: 3px;
  height: 82%;
  background: var(--primary-color);
  border-radius: 0px 0px 0px 0px;
  transform: translateY(-50%);
}

.notification-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon i {
  font-size: 1.2rem;
}

.bg-success-light {
  background: rgba(25, 135, 84, 0.15);
}

.bg-warning-light {
  background: rgba(255, 193, 7, 0.15);
}

.bg-primary-light {
  background: rgba(68, 193, 70, 0.15);
}

.bg-info-light {
  background: rgba(13, 202, 240, 0.15);
}

.bg-danger-light {
  background: rgba(220, 53, 69, 0.15);
}

.bg-secondary-light {
  background: rgba(108, 117, 125, 0.15);
}

.notification-content {
  flex: 1;
}

.notification-content h6 {
  margin: 0 0 6px;
  font-weight: 600;
}

.notification-content p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.notification-time {
  font-size: 0.8rem;
  color: var(--muted-gray);
}

.btn-notification-action {
  background: none;
  border: none;
  color: var(--muted-gray);
  cursor: pointer;
  padding: 4px;
}

.btn-notification-action:hover {
  color: var(--text-primary);
}

/* ===== Leaderboard Page ===== */
.leaderboard-hero {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 30px;
}

.leaderboard-trophy {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #ffb700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.leaderboard-trophy i {
  font-size: 2.5rem;
  color: white;
}

.leaderboard-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.leaderboard-hero p {
  color: var(--muted-gray);
  margin-bottom: 20px;
}

.prize-pool {
  display: inline-flex;
  flex-direction: column;
  background: var(--bg-card);
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.prize-label {
  font-size: 0.85rem;
  color: var(--muted-gray);
}

.prize-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Podium */
.podium-section {
  margin-bottom: 40px;
}

.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
}

.podium-item {
  text-align: center;
  padding: 20px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
}

.podium-item.first {
  padding-bottom: 40px;
  margin-bottom: 20px;
}

.podium-item.second,
.podium-item.third {
  padding-bottom: 30px;
}

.crown {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.crown i {
  font-size: 2rem;
  color: #ffd700;
}

.podium-avatar {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
}

.podium-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.podium-rank {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.podium-item h6 {
  margin: 0 0 4px;
  font-weight: 600;
}

.podium-item p {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.reward-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(68, 193, 70, 0.15);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Fixed truncated CSS and added remaining styles */
.reward-badge.gold {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.reward-badge.silver {
  background: rgba(192, 192, 192, 0.2);
  color: #c0c0c0;
}

.reward-badge.bronze {
  background: rgba(205, 127, 50, 0.2);
  color: #cd7f32;
}

/* Leaderboard Table */
.leaderboard-table {
  color: var(--text-primary);
}

.leaderboard-table th {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  font-weight: 600;
  padding: 14px;
}

.leaderboard-table td {
  border-color: var(--border-color);
  padding: 14px;
  vertical-align: middle;
}

.leaderboard-table tbody tr:hover {
  background: var(--bg-secondary);
}

.highlight-row {
  background: rgba(68, 193, 70, 0.05);
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-input);
  font-weight: 700;
  font-size: 0.85rem;
}

.rank-badge.gold {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: white;
}

.rank-badge.silver {
  background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
  color: white;
}

.rank-badge.bronze {
  background: linear-gradient(135deg, #cd7f32, #b87333);
  color: white;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-cell img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== Account Tabs Styles ===== */
.account-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-tabs .tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.account-tabs .tab-btn:hover {
  background: var(--bg-input);
  color: var(--text-primary);
}

.account-tabs .tab-btn.active {
  background: var(--primary-color);
  color: white;
}

.account-tabs .tab-btn.text-danger:hover {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Settings Section */
.settings-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.setting-info {
  flex: 1;
}

.setting-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.setting-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-gray);
}

/* Payment Cards in Settings */
.payment-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.payment-card-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-card-info i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.payment-card-info .card-type {
  display: block;
  font-weight: 600;
}

.payment-card-info .card-expiry {
  display: block;
  font-size: 0.85rem;
  color: var(--muted-gray);
}

/* Filter Buttons */
.filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btns .btn {
  border-radius: 20px;
}

.filter-btns .btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Pagination */
.pagination .page-link {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.pagination .page-link:hover {
  background: var(--bg-input);
  border-color: var(--border-color);
  color: var(--primary-color);
}

.pagination .page-item.active .page-link {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.pagination .page-item.disabled .page-link {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  color: var(--muted-gray);
}

/* Reports Page */
.reports-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.reports-tab {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reports-tab:hover,
.reports-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Legal Pages */
.legal-content {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border-color);
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  color: var(--muted-gray);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .podium {
    flex-direction: column;
    align-items: center;
  }

  .podium-item {
    width: 100%;
    max-width: 280px;
  }

  .product-hero {
    flex-direction: column;
  }

  .product-hero-image {
    width: 100%;
    height: 200px;
  }

  .legal-content {
    padding: 24px;
  }

  .order-item {
    flex-wrap: wrap;
  }

  .order-status {
    width: 100%;
    text-align: left;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}