* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6fa;
  color: #1a1d2e;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}
body.dark-mode {
  background: #0f1419;
  color: #e5e7eb;
}

button {
  font-family: inherit;
}

.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: #1a1d2e;
  color: #fff;
  padding: 20px 0;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  transition: width 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.sidebar.theme-dark {
  background: #1a1d2e;
}
.sidebar.theme-blue {
  background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%);
}
.sidebar.theme-purple {
  background: linear-gradient(180deg, #581c87 0%, #6b21a8 100%);
}
.sidebar.theme-green {
  background: linear-gradient(180deg, #065f46 0%, #047857 100%);
}
.sidebar.no-transition {
  transition: none !important;
}
.sidebar.collapsed {
  width: 70px;
}
.sidebar.collapsed.hovered {
  width: 260px;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}
.sidebar.collapsed:not(.hovered) .brand-text,
.sidebar.collapsed:not(.hovered) .nav-item span,
.sidebar.collapsed:not(.hovered) .nav-item .arrow,
.sidebar.collapsed:not(.hovered) .submenu,
.sidebar.collapsed:not(.hovered) .color-selector {
  opacity: 0;
  display: none;
}
.sidebar.collapsed:not(.hovered) .brand {
  justify-content: center;
  padding: 0 0 30px;
}
.sidebar.collapsed:not(.hovered) .nav-item {
  justify-content: center;
  padding: 10px;
}
.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.brand {
}

.brand  a { 
  color:#fff; 
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 30px;
}

.brand-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-icon i {
  font-size: 28px;
}

.brand-text {
  font-size: 16px;
  font-weight: 700;
}

.sidebar-nav {
  padding: 0 10px;
  flex: 1;
}

.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 15px 0;
}

.nav-item-group {
  margin: 2px 0;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  margin: 2px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.nav-item:hover {
  background: rgba(76, 111, 255, 0.1);
}
.nav-item.active {
  background: linear-gradient(90deg, #4c6fff 0%, #6b8aff 100%);
}
.nav-item .icon {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}
.nav-item .arrow {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-item .arrow.rotated {
  transform: rotate(90deg);
}

.nav-item span { white-space:nowrap; }

.submenu {
  padding-left: 10px;
  margin-top: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.submenu.open {
  max-height: 500px;
}

.submenu-item {
  display: block;
  padding: 8px 15px 8px 40px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  border-radius: 6px;
  margin: 2px 0;
  transition: all 0.2s ease;
}
.submenu-item:hover {
  background: rgba(76, 111, 255, 0.1);
  color: #fff;
  padding-left: 42px;
}

.color-selector {
  padding: 0 20px 20px;
  margin-top: auto;
  position: relative;
}

.color-current {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
}
.color-current:hover {
  background: rgba(255, 255, 255, 0.15);
}

.color-label {
  letter-spacing: 0.5px;
}

.color-options {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 8px;
  z-index: 1001;
  display: none;
  animation: slideUp 0.2s ease-out;
}
.color-options.open {
  display: block;
}

.color-option {
  width: 100%;
  background: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  color: #1a1d2e;
  font-size: 13px;
  margin-bottom: 4px;
}
.color-option:last-child {
  margin-bottom: 0;
}
.color-option:hover {
  background: #f3f4f6;
}
.color-option.active {
  background: #e0e7ff;
  color: #4c6fff;
  font-weight: 600;
}

.color-preview {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 260px;
  right: 0;
  height: 70px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  z-index: 100;
  transition: left 0.3s ease;
}
.header.no-transition {
  transition: none !important;
}
.header.collapsed {
  left: 70px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo {
  display: none;
}
.header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color:#333;
}

.hamburger-btn {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1d2e;
  border-radius: 2px;
  transition: all 0.2s ease;
}
.hamburger-btn:hover span {
  background: #4c6fff;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.icon-btn {
  background: #fff;
  border: 1px solid #f0f0f0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn:hover {
  background: #f9fafb;
}

.dark-mode-btn {
  position: relative;
}
.dark-mode-btn .dark-mode-icon,
.dark-mode-btn .light-mode-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 18px;
}
.dark-mode-btn .light-mode-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}
.dark-mode-btn:hover {
  background: #f9fafb;
  color: #4c6fff;
}

body.dark-mode .dark-mode-btn .dark-mode-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-180deg);
}
body.dark-mode .dark-mode-btn .light-mode-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}
body.dark-mode .header {
  background: #1e2433;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
body.dark-mode .hamburger-btn span {
  background: #e5e7eb;
}
body.dark-mode .hamburger-btn span:hover {
  background: #4c6fff;
}
body.dark-mode .icon-btn {
  background: #1a1d2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}
body.dark-mode .icon-btn:hover {
  background: rgba(76, 111, 255, 0.1);
}
body.dark-mode .icon-btn svg {
  stroke: #9ca3af;
}
body.dark-mode .icon-btn:hover svg {
  stroke: #4c6fff;
}

.language-menu {
  position: relative;
}

.language-icon-btn {
  width: 36px;
  height: 36px;
}
.language-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: #9ca3af;
}
.language-icon-btn:hover svg {
  stroke: #4c6fff;
}

.language-popup {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 200px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1001;
  border: 1px solid #e5e7eb;
  padding: 8px;
  display: none;
}
.language-popup.open {
  display: block;
  animation: slideDown 0.2s ease-out;
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 500;
  color: #1a1d2e;
  text-align: left;
}
.language-option:hover {
  background: #f0f4ff;
}

.flag-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(90deg, #4c6fff 0%, #6b8aff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(76, 111, 255, 0.3);
}
.user-avatar i {
  font-size: 18px;
  color: white;
}

.user-popup {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 240px;
  overflow: hidden;
  z-index: 1001;
  border: 1px solid #e5e7eb;
  display: none;
}
.user-popup.open {
  display: block;
  animation: slideDown 0.2s ease-out;
}

.user-popup-header {
  padding: 20px;
  background: linear-gradient(90deg, #4c6fff 0%, #6b8aff 100%);
  color: white;
  text-align: center;
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-name {
  font-size: 18px;
  font-weight: 600;
}

.user-role {
  font-size: 13px;
  opacity: 0.9;
}

.user-popup-body {
  padding: 8px;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #1a1d2e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 8px;
}
.user-menu-item i {
  font-size: 18px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}
.user-menu-item:hover {
  background: #f0f4ff;
}
.user-menu-item:hover i {
  color: #4c6fff;
}
.user-menu-item.logout {
  color: #ef4444;
}
.user-menu-item.logout i {
  color: #ef4444;
}
.user-menu-item.logout:hover {
  background: #fee2e2;
}

.user-popup-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 8px 0;
}

.main-content {
  margin-left: 260px;
  margin-top: 70px;
  flex: 1;
  padding: 15px 20px;
  max-width: calc(100% - 260px);
  transition: margin-left 0.3s ease, max-width 0.3s ease;
}
.main-content.no-transition {
  transition: none !important;
}
.main-content.collapsed {
  margin-left: 70px;
  max-width: calc(100% - 70px);
}

.breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}
.breadcrumb .separator {
  margin: 0 8px;
}
.breadcrumb .current {
  color: #4c6fff;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #1a1d2e;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #1a1d2e;
  margin-bottom: 6px;
}

.stat-change {
  font-size: 12px;
}
.stat-change.positive {
  color: #10b981;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.stat-icon i {
  font-size: 24px;
  color: white;
}
.stat-icon.blue {
  background: linear-gradient(135deg, #4c6fff, #6b8aff);
}
.stat-icon.pink {
  background: linear-gradient(135deg, #ff6b9d, #ff8ab3);
}
.stat-icon.orange {
  background: linear-gradient(135deg, #ff9966, #ffb088);
}

.card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1d2e;
  margin: 0;
}

.card-body {
  padding: 20px;
}

.view-all {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}
.view-all:hover {
  background: #e5e7eb;
  color: #4c6fff;
}

body.dark-mode .main-content {
  background: #0f1419;
}
body.dark-mode .page-title {
  color: #e5e7eb;
}
body.dark-mode .breadcrumb {
  color: #9ca3af;
}
body.dark-mode .breadcrumb .current {
  color: #4c6fff;
}
body.dark-mode .card {
  background: #1e2433;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
body.dark-mode .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .card-header h3 {
  color: #e5e7eb;
}
body.dark-mode .stat-card {
  background: #1e2433;
  border-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .stat-label {
  color: #9ca3af;
}
body.dark-mode .stat-value {
  color: #e5e7eb;
}
body.dark-mode .point-chart-item {
  background: rgba(255, 255, 255, 0.05);
}
body.dark-mode .point-chart-label {
  color: #9ca3af;
}
body.dark-mode .point-chart-value {
  color: #e5e7eb;
}
body.dark-mode .metric-value {
  color: #e5e7eb;
}
body.dark-mode .metric-label {
  color: #9ca3af;
}
body.dark-mode .metric-footer {
  color: #9ca3af;
  border-top-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .bar-label,
body.dark-mode .bar-value {
  color: #e5e7eb;
}
body.dark-mode .bar-wrapper {
  background: rgba(255, 255, 255, 0.05);
}
body.dark-mode .notice-title {
  color: #e5e7eb;
}
body.dark-mode .notice-time {
  color: #9ca3af;
}
body.dark-mode .link-input {
  background: #1a1d2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}
body.dark-mode .link-input:focus {
  border-color: #4c6fff;
}
body.dark-mode .view-all {
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
}
body.dark-mode .view-all:hover {
  background: rgba(76, 111, 255, 0.1);
  color: #4c6fff;
}
body.dark-mode .payment-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
}
body.dark-mode .table th {
  color: #9ca3af;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .table td {
  color: #e5e7eb;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
body.dark-mode .empty-msg {
  color: #9ca3af;
}
body.dark-mode .time-btn {
  background: #1a1d2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}
body.dark-mode .time-btn:hover:not(.active) {
  background: rgba(76, 111, 255, 0.1);
}

.chart-card {
  margin-bottom: 20px;
}

.charts-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.charts-row .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.charts-row .card-header {
  min-height: 56px;
}
.charts-row .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.time-filters {
  display: flex;
  gap: 8px;
}

.time-btn {
  padding: 6px 16px;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.time-btn.active {
  background: #4c6fff;
  color: #fff;
  border-color: #4c6fff;
}
.time-btn:hover:not(.active) {
  background: #f9fafb;
}

.points-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.point-chart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
}

.point-chart-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
}
.point-chart-icon.blue {
  background: linear-gradient(135deg, #4c6fff, #6b8aff);
}
.point-chart-icon.pink {
  background: linear-gradient(135deg, #ff6b9d, #ff8ab3);
}
.point-chart-icon.orange {
  background: linear-gradient(135deg, #ff9966, #ffb088);
}


.point-chart-item:nth-child(1) .point-chart-icon {
  background: linear-gradient(135deg, #4c6fff, #6b8aff);
}
.point-chart-item:nth-child(2) .point-chart-icon {
  background: linear-gradient(135deg, #ff6b9d, #ff8ab3);
}
.point-chart-item:nth-child(3) .point-chart-icon {
  background: linear-gradient(135deg, #ff9966, #ffb088);
}

.point-chart-item i.ti { display:none; }
.point-chart-item:nth-child(1) i.ti.ti-shopping-cart { display:block; }
.point-chart-item:nth-child(2) i.ti.ti-wallet { display:block; }
.point-chart-item:nth-child(3) i.ti.ti-coin { display:block; }


.point-chart-info {
  flex: 1;
}

.point-chart-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.point-chart-value {
  font-size: 24px;
  font-weight: 700;
  color: #1a1d2e;
}

.text-center {
  text-align: center;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #1a1d2e;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 12px;
}

.metric-footer {
  font-size: 13px;
  color: #6b7280;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.metric-change {
  font-size: 12px;
  margin-bottom: 12px;
}
.metric-change .positive {
  color: #10b981;
}

.bottom-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.bar-chart-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bar-chart-item {
  margin-bottom: 16px;
}
.bar-chart-item:last-child {
  margin-bottom: 0;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.bar-label {
  font-size: 14px;
  color: #1a1d2e;
  font-weight: 500;
}

.bar-value {
  font-size: 14px;
  color: #1a1d2e;
  font-weight: 600;
}

.bar-wrapper {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.bar-fill.purple {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.notice-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.notice-item:last-child {
  margin-bottom: 0;
}

.notice-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

.notice-item:nth-child(3n-1) .notice-dot { background: #4c6fff; }
.notice-item:nth-child(3n-2) .notice-dot { background: #10b981; }
.notice-item:nth-child(3n-3) .notice-dot { background: #ff6b9d; }

.notice-dot.blue {
  background: #4c6fff;
}
.notice-dot.green {
  background: #10b981;
}
.notice-dot.pink {
  background: #ff6b9d;
}

.notice-content {
  flex: 1;
}

.notice-title {
  font-size: 14px;
  font-weight: 500;
  color: #1a1d2e;
  margin-bottom: 4px;
}

.notice-time {
  font-size: 12px;
  color: #6b7280;
}

.link-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
}
.link-input:focus {
  outline: none;
  border-color: #4c6fff;
}

.btn-copy {
  width: 100%;
  padding: 10px;
  background: #4c6fff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}
.btn-copy:hover {
  background: #3d5ce8;
}
.btn-copy:active {
  transform: scale(0.98);
}

.social-icons-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
}
.social-btn-small.line {
  background: #00b900;
}
.social-btn-small.twitter {
  background: #1da1f2;
}
.social-btn-small.kakao {
  background: #fee500;
  color: #000;
}
.social-btn-small.phone {
  background: #02ee65;
}
.social-btn-small:hover {
  transform: scale(1.1);
}
.social-btn-small:active {
  transform: scale(1.05);
}

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.payment-item:last-child {
  border-bottom: none;
}

.payment-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.payment-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}
.payment-icon-circle.blue {
  background: linear-gradient(135deg, #4c6fff, #6b8aff);
}
.payment-icon-circle.orange {
  background: linear-gradient(135deg, #ff9966, #ffb088);
}
.payment-icon-circle.purple {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}
.payment-icon-circle.pink {
  background: linear-gradient(135deg, #ff6b9d, #ff8ab3);
}
.payment-icon-circle.green {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.badge.primary {
  background: #e0e7ff;
  color: #4c6fff;
}

.table-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table th {
  text-align: left;
  padding: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  border-bottom: 1px solid #f0f0f0;
}
.table td {
  padding: 16px 12px;
  font-size: 14px;
  color: #1a1d2e;
  border-bottom: 1px solid #f5f5f5;
}

.empty-msg {
  text-align: center;
  color: #9ca3af;
  padding: 40px 12px !important;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1400px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts-row {
    grid-template-columns: 1fr;
  }
  .bottom-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .points-chart-grid {
    grid-template-columns: 1fr;
  }
  .table-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1024px) {
  .bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  .sidebar.collapsed {
    transform: translateX(-100%);
    width: 260px;
  }
  .sidebar.collapsed.hovered {
    width: 260px;
    box-shadow: none;
  }
  .header {
    left: 0;
    padding: 0 12px;
  }
  .header.collapsed {
    left: 0;
  }
  .header-logo {
    display: flex;
  }
  .main-content {
    margin-left: 0;
    max-width: 100%;
    padding: 12px;
  }
  .main-content.collapsed {
    margin-left: 0;
    max-width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 15px;
  }
  .stat-card {
    padding: 14px;
  }
  .bottom-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 15px;
  }
  .chart-card {
    margin-bottom: 15px;
  }
  .card-body {
    padding: 14px;
  }
  .card-header {
    padding: 14px 16px;
  }
  .table-section {
    gap: 10px;
    margin-bottom: 15px;
  }
  .point-chart-item {
    padding: 12px;
    gap: 12px;
  }
  .points-chart-grid {
    gap: 10px;
  }
}

/*# sourceMappingURL=styles.css.map */
