/* ============================================
   SMM PRIME - Premium Dark Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.8);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-sidebar: rgba(15, 23, 42, 0.95);
  --bg-input: rgba(30, 41, 59, 0.6);
  --border-color: rgba(99, 102, 241, 0.15);
  --border-hover: rgba(99, 102, 241, 0.4);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #6366f1;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
  --accent-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

a:hover {
  color: var(--accent-secondary);
  text-decoration: none;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

/* ============================================
   LAYOUT
   ============================================ */
.smm-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ============================================
   SIDEBAR
   ============================================ */
.smm-sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.smm-sidebar-brand {
  padding: 24px 24px 20px;
  border-bottom: 1px solid var(--border-color);
}

.smm-sidebar-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.smm-sidebar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  box-shadow: var(--accent-glow);
}

.smm-sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.smm-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.smm-nav-item {
  margin-bottom: 4px;
}

.smm-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.93rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.smm-nav-link:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.08);
}

.smm-nav-link.active {
  color: white;
  background: var(--accent-gradient);
  box-shadow: var(--accent-glow);
}

.smm-nav-link.active::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}

.smm-nav-link i {
  width: 20px;
  text-align: center;
  font-size: 1.05rem;
}

.smm-sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
}

.smm-logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--danger);
  font-weight: 500;
  font-size: 0.93rem;
  transition: var(--transition);
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
}

.smm-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

/* ============================================
   TOPBAR
   ============================================ */
.smm-topbar {
  height: var(--topbar-height);
  background: var(--bg-sidebar);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.smm-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.smm-topbar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.smm-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.smm-balance-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
}

.smm-balance-badge i {
  font-size: 0.9rem;
}

.smm-due-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  color: var(--danger);
  font-weight: 600;
  font-size: 0.95rem;
}

.smm-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.smm-user-avatar {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
}

.smm-user-name {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.smm-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.smm-menu-toggle:hover {
  border-color: var(--accent-primary);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.smm-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.smm-content {
  flex: 1;
  padding: 28px;
}

/* ============================================
   CARDS
   ============================================ */
.smm-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition);
}

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

.smm-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.smm-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.smm-card-title i {
  color: var(--accent-primary);
}

/* ============================================
   FORMS
   ============================================ */
.smm-form-group {
  margin-bottom: 20px;
}

.smm-form-group label,
.smm-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.smm-form-group label .required {
  color: var(--danger);
}

.smm-input,
.form-control,
.smm-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.smm-input:focus,
.form-control:focus,
.smm-select:focus {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
  background: rgba(30, 41, 59, 0.8) !important;
}

.smm-input::placeholder,
.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control,
.smm-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* ============================================
   BUTTONS
   ============================================ */
.smm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.93rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.smm-btn-primary,
.btn-big-primary,
.btn-block.btn-big-primary {
  background: var(--accent-gradient) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px;
  border-radius: var(--radius-sm) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600 !important;
  font-size: 0.93rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smm-btn-primary:hover,
.btn-big-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.smm-btn-primary:active,
.btn-big-primary:active {
  transform: translateY(0);
}

.smm-btn-secondary {
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.smm-btn-secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

.smm-btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.smm-btn-danger:hover {
  background: rgba(239, 68, 68, 0.25);
}

.smm-btn-block {
  width: 100%;
}

.btn.disabled,
.smm-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================
   TABLES
   ============================================ */
.smm-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.smm-table,
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--text-primary) !important;
}

.smm-table thead th,
.table thead th {
  background: rgba(99, 102, 241, 0.08) !important;
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px !important;
  border: none !important;
  border-bottom: 1px solid var(--border-color) !important;
  white-space: nowrap;
}

.smm-table tbody td,
.table tbody td {
  padding: 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid rgba(99, 102, 241, 0.06) !important;
  font-size: 0.9rem;
  color: var(--text-primary) !important;
  vertical-align: middle;
}

.smm-table tbody tr,
.table tbody tr {
  transition: var(--transition);
}

.smm-table tbody tr:hover,
.table tbody tr:hover {
  background: rgba(99, 102, 241, 0.04) !important;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  border-radius: var(--radius-md) !important;
  border: none !important;
  padding: 16px 20px !important;
  font-size: 0.93rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--success) !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  color: var(--danger) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1) !important;
  color: var(--warning) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.alert .close,
.alert .btn-close {
  color: inherit !important;
  opacity: 0.7;
}

/* ============================================
   CUSTOM TABS (.smm-tabs)
   ============================================ */
.smm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.smm-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.smm-tab:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--accent-primary);
}

.smm-tab.active {
  color: white;
  background: var(--accent-gradient);
  box-shadow: var(--accent-glow);
  border-color: transparent;
}

/* ============================================
   TABS / PILLS
   ============================================ */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-item {
  list-style: none;
}

.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-pills .nav-link,
.nav-pills .nav-item .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary) !important;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) !important;
  padding: 9px 18px !important;
  font-weight: 500;
  font-size: 0.88rem;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-pills .nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(99, 102, 241, 0.12) !important;
  border-color: var(--accent-primary);
}

.nav-pills .nav-link.active {
  color: white !important;
  background: var(--accent-gradient) !important;
  box-shadow: var(--accent-glow);
  border-color: transparent;
}

/* Status badges (pill style for table) */
.status-pending {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-inprogress {
  color: var(--info);
  background: rgba(59, 130, 246, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-completed {
  color: var(--success);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-partial {
  color: #f97316;
  background: rgba(249, 115, 22, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-canceled {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================
   PAGINATION
   ============================================ */
.paginationjs .paginationjs-pages li>a {
  background: var(--bg-input) !important;
  color: var(--text-secondary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 14px !important;
  font-size: 0.88rem;
  transition: var(--transition);
}

.paginationjs .paginationjs-pages li.active>a {
  background: var(--accent-gradient) !important;
  color: white !important;
  border-color: transparent !important;
}

.paginationjs .paginationjs-pages li>a:hover {
  background: rgba(99, 102, 241, 0.15) !important;
  color: var(--text-primary) !important;
}

/* ============================================
   MODALS (Bootstrap CSS yok, elle tanımlıyoruz)
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal.show {
  display: block;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
  pointer-events: none;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal.show .modal-dialog {
  transform: none;
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-lg) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color) !important;
  padding: 20px 24px !important;
}

.modal-header .modal-title {
  font-weight: 700;
  margin: 0;
}

.modal-header .btn-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  opacity: 0.7;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-header .btn-close::before {
  content: '\2715';
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 24px !important;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color) !important;
  padding: 16px 24px !important;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.show {
  opacity: 0.7 !important;
}

.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

/* Custom Modal Overlay (Bootstrap'a bağımlı değil) */
.smm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smm-modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.smm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.smm-modal-header h5 {
  margin: 0;
  font-weight: 700;
  color: var(--text-primary);
}

.smm-modal-header button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.smm-modal-header button:hover {
  color: var(--text-primary);
}

.smm-modal-body {
  padding: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.smm-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
}

/* ============================================
   ORDER FILTER BUTTONS
   ============================================ */
.smm-order-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.smm-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  cursor: pointer;
}

.smm-filter-btn:hover {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--accent-primary);
}

.smm-filter-btn.active {
  color: #fff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.smm-filter-btn i {
  font-size: 0.8rem;
}

/* ============================================
   HELP TEXT
   ============================================ */
.help-block,
small.help-block {
  color: var(--text-muted) !important;
  font-size: 0.82rem;
  margin-top: 6px;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.smm-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.smm-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  z-index: 1;
}

.smm-login-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

.smm-login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.smm-login-logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.smm-login-logo p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.smm-login-card .smm-form-group {
  margin-bottom: 20px;
}

.smm-login-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--accent-glow);
  margin-top: 8px;
}

.smm-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* ============================================
   CHARGE DISPLAY
   ============================================ */
.smm-charge-display {
  text-align: center;
  padding: 20px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.smm-charge-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.smm-charge-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SERVICE DESCRIPTION
   ============================================ */
.panel-description {
  padding: 14px 18px;
  background: rgba(99, 102, 241, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-primary);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.input-group {
  display: flex;
  gap: 0;
}

.input-group .form-control {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group-append .btn,
.btn-big-secondary {
  background: var(--accent-gradient) !important;
  color: white !important;
  border: none !important;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
  padding: 12px 18px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-big-secondary:hover {
  opacity: 0.9;
}

/* ============================================
   MISC OVERRIDES
   ============================================ */
.card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.bg,
.divider-top,
.divider-bottom {
  display: none !important;
}

.wrapper,
.wrapper-content,
.wrapper-content__body,
.wrapper-content__header,
.wrapper-content__footer {
  background: transparent !important;
}

.new_order-block,
.orders-history,
.add-funds__form,
.text-block {
  background: transparent !important;
}

.component_card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.table-bg {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.container-fluid {
  padding: 0 !important;
}

.row {
  margin: 0 !important;
}

.col,
.col-12,
.col-lg-6,
.col-lg-8,
.col-5 {
  padding: 0 8px !important;
}

/* Login page special */
body.login-page .smm-layout {
  display: none;
}

body.login-page::before {
  display: block;
}

/* Nowrap helper */
.nowrap {
  white-space: nowrap;
}

/* Action buttons in orders */
.btn-actions {
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  border-radius: var(--radius-sm) !important;
  background: rgba(99, 102, 241, 0.1) !important;
  color: var(--accent-primary) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  cursor: pointer;
  transition: var(--transition);
}

.btn-actions:hover {
  background: rgba(99, 102, 241, 0.2) !important;
}

/* Table link */
.table-link a {
  color: var(--accent-primary) !important;
}

.table-link a:hover {
  color: var(--accent-secondary) !important;
}

/* Min-max alert */
.minmaxalert {
  background: rgba(239, 68, 68, 0.1) !important;
  color: var(--danger) !important;
  border: 1px solid rgba(239, 68, 68, 0.2) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 14px !important;
  font-size: 0.88rem;
}

/* ============================================
   FORM ROW (responsive 2-col)
   ============================================ */
.smm-form-row {
  display: flex;
  gap: 20px;
}

.smm-form-col {
  flex: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .smm-form-row {
    flex-direction: column;
    gap: 0;
  }

  .smm-sidebar {
    transform: translateX(-100%);
  }

  .smm-sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  }

  .smm-main {
    margin-left: 0;
  }

  .smm-menu-toggle {
    display: flex;
    align-items: center;
  }

  .smm-content {
    padding: 16px;
  }

  .smm-topbar {
    padding: 0 16px;
  }

  .smm-user-name {
    display: none;
  }

  .smm-balance-badge {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .smm-due-badge {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .smm-login-card {
    padding: 28px 20px;
  }

  .nav-pills {
    flex-wrap: wrap;
    gap: 6px;
  }

  .nav-pills .nav-link {
    font-size: 0.8rem !important;
    padding: 6px 12px !important;
  }

  .smm-order-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .smm-order-filters::-webkit-scrollbar {
    display: none;
  }

  .smm-filter-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .smm-card-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start !important;
  }

  .smm-card-header input {
    max-width: 100% !important;
    width: 100%;
  }

  .smm-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .smm-modal-box {
    width: 95%;
    margin: 16px;
  }
}

/* Overlay for mobile sidebar */
.smm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.smm-overlay.active {
  display: block;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.smm-card {
  animation: fadeInUp 0.5s ease forwards;
}

.smm-card:nth-child(2) {
  animation-delay: 0.1s;
}

.smm-card:nth-child(3) {
  animation-delay: 0.2s;
}