:root {
  --space-dark: #0a0e1a;
  --space-blue: #1a1f3a;
  --space-purple: #2d1b69;
  --cosmic-cyan: #00d4ff;
  --cosmic-blue: #4a90e2;
  --space-gray: #2c3e50;
  --light-cyan: #7dd3fc;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --text-light: #e2e8f0;
  --text-dark: #1e293b;
  --border-space: #334155;
  --card-bg: #1e293b;
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  --hover-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  --glow-effect: 0 4px 15px rgba(0, 0, 0, 0.2);
  --admin-bg: #0a0e1a;
  --admin-sidebar: #1a1f3a;
  --admin-card: #1e293b;
  --admin-border: #334155;
  --admin-text: #e2e8f0;
  --admin-text-light: #94a3b8;
  --admin-primary: #00d4ff;
  --admin-success: #10b981;
  --admin-warning: #f59e0b;
  --admin-danger: #ef4444;
  --admin-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  --admin-shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.4);
}
* {
  box-sizing: border-box;
}
body {
  background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-blue) 50%, var(--space-purple) 100%);
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}
.admin-dashboard {
  background: linear-gradient(135deg, var(--admin-bg) 0%, var(--admin-sidebar) 50%, var(--space-purple) 100%) !important;
  min-height: 100vh;
}
.floating-bubbles {
  display: none;
}
.bubble {
  display: none;
}
.currency-rates-card {
  background: linear-gradient(135deg, var(--card-bg), var(--space-blue));
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-space);
  margin-bottom: 30px;
}
.currency-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.currency-header h5 {
  color: var(--cosmic-cyan);
  margin: 0;
  font-weight: 600;
}
.currency-rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.currency-item {
  background: rgba(0, 212, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-space);
  transition: all 0.3s ease;
}
.currency-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--cosmic-cyan);
}
.currency-item.rapira {
  border-left: 4px solid #ff6b6b;
}
.currency-item.grinex {
  border-left: 4px solid #4ecdc4;
}
.exchange-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exchange-name {
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.2rem;
}
.exchange-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.exchange-status[data-status="online"] {
  color: var(--success-color);
}
.exchange-status[data-status="offline"] {
  color: var(--danger-color);
}
.exchange-status i {
  font-size: 8px;
}
.currency-rate {
  font-weight: 700;
  color: var(--cosmic-cyan);
  font-size: 1.5rem;
}
.currency-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}
.currency-option {
  background: rgba(0, 212, 255, 0.05);
  border: 2px solid var(--border-space);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
}
.currency-option:hover {
  border-color: var(--cosmic-cyan);
  background: rgba(0, 212, 255, 0.1);
}
.currency-option.selected {
  border-color: var(--cosmic-cyan);
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}
.currency-flag {
  font-size: 2rem;
  margin-right: 15px;
  color: var(--cosmic-cyan);
  font-weight: 700;
}
.currency-details {
  flex: 1;
}
.currency-code {
  font-weight: 700;
  color: var(--cosmic-cyan);
  font-size: 1.2rem;
}
.currency-name {
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.8;
}
.currency-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--cosmic-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}
.currency-option.selected .currency-check {
  opacity: 1;
}
.currency-check i {
  color: #fff;
  font-size: 12px;
}
.number-input::-webkit-outer-spin-button,
.number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.number-input[type="number"] {
  -moz-appearance: textfield;
}
.form-group {
  position: relative;
}
.confirm-modal {
  border: 2px solid var(--cosmic-cyan);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.confirm-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--warning-color), #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}
.confirm-icon i {
  font-size: 2rem;
  color: #fff;
}
.confirm-title {
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.5rem;
}
.confirm-message {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 1.1rem;
}
.confirm-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}
.notification {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  margin-bottom: 10px;
  padding: 16px 20px;
  border-left: 4px solid var(--cosmic-cyan);
  transform: translateX(100%);
  opacity: 0;
  animation: slideInRight 0.4s ease-out forwards;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-space);
}
.notification.success {
  border-left-color: var(--success-color);
}
.notification.error {
  border-left-color: var(--danger-color);
}
.notification.warning {
  border-left-color: var(--warning-color);
}
.notification.info {
  border-left-color: var(--cosmic-cyan);
}
.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}
.notification-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.notification.success .notification-icon {
  color: var(--success-color);
}
.notification.error .notification-icon {
  color: var(--danger-color);
}
.notification.warning .notification-icon {
  color: var(--warning-color);
}
.notification.info .notification-icon {
  color: var(--cosmic-cyan);
}
.notification-text {
  flex: 1;
  font-weight: 500;
  font-size: 14px;
}
.notification-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.notification-close:hover {
  opacity: 1;
}
.notification.fade-out {
  animation: slideOutRight 0.4s ease-in forwards;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-blue) 50%, var(--space-purple) 100%);
}
.login-card {
  background: rgba(30, 41, 59, 0.9);
  border-radius: 20px;
  box-shadow: var(--hover-shadow);
  padding: 50px 40px;
  width: 100%;
  max-width: 420px;
  border: 1px solid var(--border-space);
  position: relative;
  z-index: 2;
}
.brand-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--cosmic-cyan), var(--light-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -1px;
}
.brand-subtitle {
  color: var(--text-light);
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0.8;
}
.login-form .form-label {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  font-size: 14px;
}
.login-form .form-control {
  border: 2px solid var(--border-space);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: rgba(30, 41, 59, 0.8);
  font-weight: 500;
  color: var(--text-light);
}
.login-form .form-control::placeholder {
  color: rgba(226, 232, 240, 0.5);
}
.login-form .form-control:focus {
  border-color: var(--cosmic-cyan);
  box-shadow: none;
  background: rgba(30, 41, 59, 0.9);
  outline: none;
}
.form-check {
  margin-bottom: 20px;
}
.form-check-input {
  border: 2px solid var(--border-space);
  border-radius: 6px;
  width: 18px;
  height: 18px;
  background: rgba(30, 41, 59, 0.8);
  transition: none !important;
}
.form-check-input:checked {
  background-color: var(--cosmic-cyan);
  border-color: var(--cosmic-cyan);
  box-shadow: none;
  transition: none !important;
}
.form-check-label {
  font-weight: 500;
  color: var(--text-light);
  font-size: 14px;
  margin-left: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}
.btn-outline-secondary {
  border: 2px solid var(--border-space);
  color: var(--text-light);
  background: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 12px;
}
.btn-outline-secondary:hover {
  background: var(--cosmic-cyan);
  border-color: var(--cosmic-cyan);
  color: var(--space-dark);
  transform: translateY(-1px);
  box-shadow: none;
}
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle 3s infinite;
}
.star:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, var(--cosmic-cyan), var(--light-cyan));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px var(--cosmic-cyan);
}
.star:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.star.small {
  width: 2px;
  height: 2px;
}
.star.medium {
  width: 3px;
  height: 3px;
}
.star.large {
  width: 4px;
  height: 4px;
}
.star.small:before {
  width: 2px;
  height: 2px;
}
.star.medium:before {
  width: 3px;
  height: 3px;
}
.star.large:before {
  width: 4px;
  height: 4px;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
  }
}
.star.floating {
  animation: float 15s linear infinite, twinkle 2s infinite;
}
.star.floating:nth-child(2n) {
  animation-duration: 20s, 2.5s;
  animation-delay: 2s, 0.5s;
}
.star.floating:nth-child(3n) {
  animation-duration: 25s, 3s;
  animation-delay: 4s, 1s;
}
.star.floating:nth-child(4n) {
  animation-duration: 18s, 2.2s;
  animation-delay: 6s, 1.5s;
}
.star.floating:nth-child(5n) {
  animation-duration: 22s, 2.8s;
  animation-delay: 8s, 2s;
}
.star.pulsing {
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.dashboard-container {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-blue) 50%, var(--space-purple) 100%);
}
.navbar-dark {
  background: linear-gradient(135deg, var(--space-dark) 0%, var(--space-blue) 100%) !important;
  border-bottom: 2px solid var(--cosmic-cyan);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.8px;
  background: linear-gradient(45deg, var(--cosmic-cyan), var(--light-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.navbar-text {
  color: var(--text-light) !important;
}
.navbar .nav-link {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
}
.navbar .nav-link:hover {
  color: var(--cosmic-cyan) !important;
}
.tabs-container {
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 1px solid var(--border-space);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.nav-tabs {
  border-bottom: none;
  padding: 0 30px;
}
.nav-tabs .nav-link {
  border: none;
  color: var(--text-light);
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0.7;
}
.nav-tabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--cosmic-cyan);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--cosmic-cyan);
}
.nav-tabs .nav-link:hover::after {
  width: 80%;
}
.nav-tabs .nav-link.active::after {
  width: 100%;
}
.nav-tabs .nav-link:hover {
  color: var(--cosmic-cyan);
  opacity: 1;
}
.nav-tabs .nav-link.active {
  background: none;
  border: none;
  color: var(--cosmic-cyan);
  opacity: 1;
}
.nav-tabs .nav-link.disabled {
  color: var(--border-space);
  cursor: not-allowed;
  opacity: 0.5;
}
.main-content {
  padding: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.stats-card {
  background: #1e293b;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-space);
  position: relative;
  overflow: hidden;
}
.stats-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cosmic-cyan), var(--cosmic-blue));
  box-shadow: 0 0 10px var(--cosmic-cyan);
}
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hover-shadow);
  border-color: var(--cosmic-cyan);
}
.stats-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
  box-shadow: none;
}
.stats-icon i {
  font-size: 28px;
  color: #fff;
}
.stats-content h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--cosmic-cyan);
  line-height: 1.2;
}
.stats-content p {
  margin: 8px 0 0;
  color: var(--text-light);
  font-size: 15px;
  font-weight: 500;
  opacity: 0.8;
}
.balance-card {
  background: linear-gradient(135deg, var(--space-blue), var(--space-purple));
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--hover-shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cosmic-cyan);
}
.balance-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.balance-amount {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}
.insurance-balance-card {
  background: linear-gradient(135deg, var(--space-blue), var(--space-purple));
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--hover-shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--cosmic-cyan);
}
.insurance-balance-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.insurance-balance-amount {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}
.action-buttons .btn {
  border-radius: 16px;
  padding: 16px 28px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  min-width: 160px;
}
.btn-deposit,
.btn-withdraw {
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  color: #fff;
}
.action-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
  color: #fff;
}
.btn-deposit:hover,
.btn-withdraw:hover {
  background: linear-gradient(135deg, var(--light-cyan), var(--cosmic-cyan));
}
.locked-section {
  background: rgba(30, 41, 59, 0.9);
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-space);
}
.locked-section i {
  color: var(--border-space);
  margin-bottom: 24px;
}
.locked-section h3 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 16px;
}
.locked-section p {
  color: var(--text-light);
  opacity: 0.7;
}
.card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid var(--border-space);
  background: #1e293b;
}
.card-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(74, 144, 226, 0.1));
  border-bottom: 1px solid var(--border-space);
  padding: 20px 24px;
  font-weight: 600;
  color: var(--text-light);
}
.card-body {
  padding: 24px;
  color: var(--text-light);
}
.form-control {
  border: 2px solid var(--border-space);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  background: rgba(30, 41, 59, 0.8);
  font-weight: 500;
  color: var(--text-light) !important;
}
.form-control::placeholder {
  color: rgba(226, 232, 240, 0.5) !important;
}
.form-control:focus {
  border-color: var(--cosmic-cyan);
  box-shadow: none;
  background: rgba(30, 41, 59, 0.9);
  outline: none;
  color: var(--text-light) !important;
}
.form-label {
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-select {
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid var(--border-space);
  color: var(--text-light) !important;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 40px;
}
.form-select:focus {
  border-color: var(--cosmic-cyan);
  box-shadow: none;
  outline: none;
  color: var(--text-light) !important;
}
.custom-select {
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid var(--border-space);
  border-radius: 12px;
  color: var(--text-light) !important;
  padding: 12px 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 40px;
}
.custom-select:focus {
  border-color: var(--cosmic-cyan);
  box-shadow: none;
  outline: none;
  color: var(--text-light) !important;
}
.form-check-input:checked {
  background-color: var(--cosmic-cyan);
  border-color: var(--cosmic-cyan);
  box-shadow: none;
  transition: none !important;
}
.form-switch .form-check-input {
  width: 3rem;
  height: 1.5rem;
  background: rgba(30, 41, 59, 0.8);
  transition: none !important;
}
.table {
  margin-bottom: 0;
  color: var(--text-light);
}
.table th {
  border-top: none;
  border-bottom: 2px solid var(--border-space);
  font-weight: 700;
  color: var(--cosmic-cyan);
  padding: 18px 16px;
  background: rgba(0, 212, 255, 0.1);
}
.table td {
  padding: 18px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-space);
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 212, 255, 0.05);
}
.badge {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.badge.bg-success {
  background: linear-gradient(135deg, var(--success-color), #059669) !important;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.badge.bg-warning {
  background: linear-gradient(135deg, var(--warning-color), #d97706) !important;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}
.badge.bg-danger {
  background: linear-gradient(135deg, var(--danger-color), #dc2626) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}
.btn {
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-success {
  background: linear-gradient(135deg, var(--success-color), #059669);
  border: none;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.btn-warning {
  background: linear-gradient(135deg, var(--warning-color), #d97706);
  border: none;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}
.admin-dashboard .navbar-dark.bg-danger {
  background: linear-gradient(135deg, var(--admin-sidebar), var(--space-purple)) !important;
  border-bottom: 3px solid var(--admin-primary);
  box-shadow: var(--admin-shadow-lg);
}
.admin-dashboard .navbar-brand {
  color: #fff !important;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.8px;
  background: linear-gradient(45deg, var(--cosmic-cyan), var(--light-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.admin-dashboard .navbar-text {
  color: var(--admin-text) !important;
  font-weight: 500;
}
.admin-dashboard .nav-link {
  color: var(--admin-text) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.admin-dashboard .nav-link:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cosmic-cyan) !important;
}
.admin-dashboard .main-content {
  padding: 30px;
  background: var(--admin-bg);
}
.admin-dashboard h3 {
  color: var(--admin-text);
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 2rem;
}
.admin-dashboard .card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: 16px;
  box-shadow: var(--admin-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}
.admin-dashboard .card:hover {
  box-shadow: var(--admin-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--cosmic-cyan);
}
.admin-dashboard .card-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(74, 144, 226, 0.1));
  border-bottom: 1px solid var(--admin-border);
  padding: 20px 25px;
  font-weight: 600;
  color: var(--admin-text);
  font-size: 1.1rem;
}
.admin-dashboard .card-header h5 {
  margin: 0;
  color: var(--cosmic-cyan);
  font-weight: 600;
}
.admin-dashboard .card-body {
  padding: 25px;
  color: var(--admin-text);
}
.admin-dashboard .form-label {
  color: var(--admin-text) !important;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.admin-dashboard .form-control {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 2px solid var(--admin-border) !important;
  color: var(--admin-text) !important;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.admin-dashboard .form-control:focus {
  border-color: var(--admin-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25) !important;
  background: rgba(30, 41, 59, 0.9) !important;
  color: var(--admin-text) !important;
}
.admin-dashboard .form-control::placeholder {
  color: var(--admin-text-light) !important;
}
.admin-dashboard .table {
  color: var(--admin-text) !important;
  background: var(--admin-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--admin-shadow);
}
.admin-dashboard .table th {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(74, 144, 226, 0.1));
  color: var(--cosmic-cyan) !important;
  border-bottom: 2px solid var(--admin-border);
  font-weight: 700;
  padding: 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-dashboard .table td {
  border-bottom: 1px solid var(--admin-border);
  color: var(--admin-text) !important;
  padding: 16px;
  vertical-align: middle;
  font-size: 0.95rem;
  font-weight: 500;
}
.admin-dashboard .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 212, 255, 0.05);
}
.admin-dashboard .table tbody tr:hover {
  background-color: rgba(0, 212, 255, 0.1);
  transition: background-color 0.3s ease;
}
.admin-dashboard .btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
}
.admin-dashboard .btn-primary {
  background: linear-gradient(135deg, var(--admin-primary), var(--cosmic-blue));
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}
.admin-dashboard .btn-primary:hover {
  background: linear-gradient(135deg, var(--light-cyan), var(--admin-primary));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}
.admin-dashboard .btn-success {
  background: linear-gradient(135deg, var(--admin-success), #059669);
  color: #fff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}
.admin-dashboard .btn-success:hover {
  background: linear-gradient(135deg, #10b981, var(--admin-success));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.admin-dashboard .btn-warning {
  background: linear-gradient(135deg, var(--admin-warning), #d97706);
  color: #1a1f3a;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}
.admin-dashboard .btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b, var(--admin-warning));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  color: #1a1f3a;
}
.admin-dashboard .btn-danger {
  background: linear-gradient(135deg, var(--admin-danger), #dc2626);
  color: #fff;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}
.admin-dashboard .btn-danger:hover {
  background: linear-gradient(135deg, #ef4444, var(--admin-danger));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.admin-dashboard .btn-secondary {
  background: linear-gradient(135deg, var(--admin-border), #475569);
  color: var(--admin-text);
  box-shadow: 0 2px 10px rgba(51, 65, 85, 0.3);
}
.admin-dashboard .btn-secondary:hover {
  background: linear-gradient(135deg, #475569, var(--admin-border));
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(51, 65, 85, 0.4);
  color: var(--admin-text);
}
.admin-dashboard .btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
}
.admin-dashboard .badge {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.admin-dashboard .badge.bg-success {
  background: linear-gradient(135deg, var(--admin-success), #059669) !important;
  color: #fff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}
.admin-dashboard .badge.bg-danger {
  background: linear-gradient(135deg, var(--admin-danger), #dc2626) !important;
  color: #fff;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}
.admin-dashboard .row.g-3 > * {
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}
.admin-dashboard .d-flex.gap-2 {
  gap: 0.5rem !important;
}
@media (max-width: 768px) {
  .admin-dashboard .main-content {
    padding: 20px 15px;
  }
  .admin-dashboard .card-body {
    padding: 20px;
  }
  .admin-dashboard .table-responsive {
    border-radius: 12px;
  }
  .admin-dashboard .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  .admin-dashboard .btn:last-child {
    margin-bottom: 0;
  }
  .admin-dashboard .d-flex.gap-2 {
    flex-direction: column;
  }
  .admin-dashboard .d-flex.gap-2 .btn {
    margin-bottom: 10px;
  }
}
@media (max-width: 768px) {
  .login-card {
    padding: 40px 30px;
    margin: 20px;
  }
  .brand-title {
    font-size: 2.2rem;
  }
  .main-content {
    padding: 30px 20px;
  }
  .stats-card {
    margin-bottom: 20px;
    padding: 24px;
  }
  .stats-icon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
  }
  .stats-icon i {
    font-size: 24px;
  }
  .action-buttons {
    flex-direction: column;
    gap: 12px;
  }
  .action-buttons .btn {
    width: 100%;
  }
  .nav-tabs {
    padding: 0 20px;
  }
  .nav-tabs .nav-link {
    padding: 16px 20px;
    font-size: 14px;
  }
  .balance-amount {
    font-size: 2.5rem;
  }
  .balance-card {
    padding: 30px 20px;
  }
  .notification-container {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  .currency-rates {
    grid-template-columns: 1fr;
  }
  .currency-selection {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 576px) {
  .stats-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .stats-icon {
    margin-right: 0;
    margin-bottom: 16px;
  }
  .table-responsive {
    font-size: 14px;
  }
  .locked-section {
    padding: 60px 20px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stats-card,
.balance-card,
.card {
  animation: fadeInUp 0.6s ease-out;
}
.stats-card:nth-child(1) {
  animation-delay: 0.1s;
}
.stats-card:nth-child(2) {
  animation-delay: 0.2s;
}
.stats-card:nth-child(3) {
  animation-delay: 0.3s;
}
.loading {
  position: relative;
  pointer-events: none;
}
.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--cosmic-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.requisite-card {
  background: #1e293b;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-space);
  transition: all 0.3s ease;
  overflow: hidden;
}
.requisite-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
  border-color: var(--cosmic-cyan);
}
.requisite-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(74, 144, 226, 0.1));
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-space);
}
.requisite-bank {
  font-weight: 600;
  color: var(--cosmic-cyan);
  font-size: 16px;
}
.requisite-body {
  padding: 20px;
}
.requisite-method {
  font-weight: 600;
  color: var(--light-cyan);
  margin-bottom: 16px;
  font-size: 14px;
}
.requisite-details {
  margin-bottom: 16px;
}
.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}
.detail-label {
  color: var(--text-light);
  font-weight: 500;
  opacity: 0.8;
}
.detail-value {
  color: var(--cosmic-cyan);
  font-weight: 600;
}
.requisite-footer {
  padding: 16px 20px;
  background: rgba(0, 212, 255, 0.05);
  border-top: 1px solid var(--border-space);
  display: flex;
  gap: 8px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-space);
}
.empty-state i {
  color: var(--cosmic-cyan);
  opacity: 0.5;
}
.empty-state h5 {
  color: var(--text-light);
}
.empty-state p {
  color: var(--text-light);
  opacity: 0.7;
}
.payment-fields {
  margin-bottom: 20px;
}
.modal-content {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid var(--border-space);
  color: var(--text-light);
}
.modal-header {
  border-bottom: 1px solid var(--border-space);
}
.modal-footer {
  border-top: 1px solid var(--border-space);
}
.btn-close {
  filter: invert(1);
}
.modal .form-control {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 2px solid var(--border-space) !important;
  color: var(--text-light) !important;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.modal .form-control:focus {
  border-color: var(--cosmic-cyan) !important;
  box-shadow: none !important;
  background: rgba(30, 41, 59, 0.9) !important;
  outline: none;
  color: var(--text-light) !important;
}
.modal .form-control::placeholder {
  color: rgba(226, 232, 240, 0.5) !important;
}
.modal .form-control[readonly] {
  background: rgba(30, 41, 59, 0.6) !important;
  border-color: var(--border-space) !important;
  color: rgba(226, 232, 240, 0.7) !important;
  cursor: not-allowed;
}
.modal .form-select {
  background: rgba(30, 41, 59, 0.8) !important;
  border: 2px solid var(--border-space) !important;
  color: var(--text-light) !important;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.modal .form-select:focus {
  border-color: var(--cosmic-cyan) !important;
  box-shadow: none !important;
  outline: none;
  color: var(--text-light) !important;
}
.modal .form-label {
  font-weight: 600;
  color: var(--text-light) !important;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .requisite-card {
    margin-bottom: 16px;
  }
  .requisite-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .requisite-footer {
    flex-direction: column;
  }
  .requisite-footer .btn {
    width: 100%;
  }
  .detail-item {
    flex-direction: column;
    gap: 4px;
  }
  .detail-label {
    font-size: 12px;
    opacity: 0.8;
  }
}
.modal-xl {
  max-width: 900px;
}
.requisite-modal .modal-content {
  background: #1e293b;
  border: 2px solid var(--cosmic-cyan);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.requisite-modal .modal-header {
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  color: #fff;
  border-radius: 18px 18px 0 0;
  padding: 20px 30px;
  border-bottom: none;
}
.requisite-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}
.requisite-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.requisite-form-section {
  background: rgba(0, 212, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-space);
}
.requisite-form-section h6 {
  color: var(--cosmic-cyan);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}
.payment-method-card {
  background: rgba(0, 212, 255, 0.05);
  border: 2px solid var(--border-space);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100px;
  display: flex;
  align-items: center;
}
.payment-method-card:hover {
  border-color: var(--cosmic-cyan);
  background: rgba(0, 212, 255, 0.1);
}
.payment-method-card.active {
  border-color: var(--cosmic-cyan);
  background: rgba(0, 212, 255, 0.15);
}
.payment-method-icon {
  width: 40px;
  height: 40px;
  background: var(--cosmic-cyan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}
.payment-method-icon i {
  color: #fff;
  font-size: 18px;
}
.limits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-space);
  transition: none !important;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  transition: none !important;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background-color: var(--cosmic-cyan);
}
input:checked + .toggle-slider:before {
  transform: translateX(26px);
}
.user-dropdown {
  display: flex;
  align-items: center;
  padding: 8px 16px !important;
  border-radius: 25px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-light) !important;
}
.user-dropdown:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: var(--cosmic-cyan);
  color: var(--cosmic-cyan) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}
.user-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}
.user-avatar i {
  color: #fff;
  font-size: 14px;
}
.user-name {
  font-weight: 600;
  font-size: 14px;
}
.user-dropdown-menu {
  background: var(--card-bg);
  border: 1px solid var(--border-space);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 0;
  min-width: 280px;
  margin-top: 8px;
}
.user-dropdown-menu .dropdown-header {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(74, 144, 226, 0.1));
  padding: 20px;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid var(--border-space);
}
.user-info {
  display: flex;
  align-items: center;
}
.user-avatar-large {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}
.user-avatar-large i {
  color: #fff;
  font-size: 20px;
}
.user-name-large {
  font-weight: 700;
  color: var(--cosmic-cyan);
  font-size: 16px;
  margin-bottom: 4px;
}
.user-status {
  color: var(--text-light);
  font-size: 12px;
  opacity: 0.8;
}
.user-dropdown-menu .dropdown-item {
  color: var(--text-light);
  padding: 12px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  background: none;
}
.user-dropdown-menu .dropdown-item:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cosmic-cyan);
  padding-left: 25px;
}
.user-dropdown-menu .dropdown-item i {
  width: 20px;
  text-align: center;
  opacity: 0.7;
}
.user-dropdown-menu .dropdown-item:hover i {
  opacity: 1;
}
.logout-item {
  color: #ff6b6b !important;
}
.logout-item:hover {
  background: rgba(255, 107, 107, 0.1) !important;
  color: #ff6b6b !important;
}
.user-dropdown-menu .dropdown-divider {
  border-color: var(--border-space);
  margin: 0;
}
@media (max-width: 768px) {
  .user-dropdown {
    padding: 6px 12px !important;
  }
  .user-name {
    display: none;
  }
  .user-dropdown-menu {
    min-width: 250px;
    right: 10px !important;
    left: auto !important;
  }
  .user-info {
    flex-direction: column;
    text-align: center;
  }
  .user-avatar-large {
    margin-right: 0;
    margin-bottom: 10px;
  }
}
.currency-rates-card,
.currency-header,
.currency-rates,
.currency-item {
  display: none !important;
}
.notification-modal {
  border: 2px solid var(--cosmic-cyan);
  border-radius: 20px;
  background: var(--card-bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.notification-icon-large {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--cosmic-cyan), var(--cosmic-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}
.notification-icon-large i {
  font-size: 2rem;
  color: #fff;
}
.notification-title {
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.5rem;
}
.notification-message {
  color: var(--text-light);
  opacity: 0.8;
  font-size: 1.1rem;
}
.text-danger {
  color: #ef4444 !important;
}
.form-control:invalid {
  border-color: #ef4444;
}
.form-control:valid {
  border-color: var(--success-color);
}
.modal.fade .modal-dialog {
  transform: scale(0.8);
  transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
  transform: scale(1);
}
