/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --bg: #0b0d23;
  --card: rgba(255,255,255,0.06);
  --glass: linear-gradient(135deg,#7c7cff,#5a5cff);
  --primary: #7c7cff;
  --text: #ffffff;
  --muted: #a0a3c2;
  --primary-dark: #A855F7;
  --error: #EF4444;
  --input-bg: #15162C;
  --input-border: #374151;
}
.navbar{
    background-color: #0F092F;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px 120px;
}
.navbar a{
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-weight: 400;
}
.navbar button{
    padding: 10px 10px;
    background-color: #7c7cff;
    border-radius: 20px;
}

#logoutBtn {
    background-color: #dc3545;
    color: white;
    border: none;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
    }
    to {
        box-shadow: 0 0 20px rgba(220, 53, 69, 0.8);
    }
}
.container-nav-content{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.container-nav-content h1{
    color: #fff;
}
/* BASE */
body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* NAVBAR */
.navbar {
  padding: 1rem 0;
  border-bottom: 1px solid #1f1f1f;
  background-color: 0F092F;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}

nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
}

/* BUTTONS */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
}

.primary {
  background: var(--primary);
  color: white;
}

.secondary {
  border: 1px solid #333;
}

/* HERO */
.hero {
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--muted);
  max-width: 600px;
  margin: auto;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  margin: 0 0.5rem;
}

/* FEATURES */
.features {
  padding: 4rem 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA */
.cta {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #0b0b0b);
}

.cta h2 {
  margin-bottom: 1.5rem;
}

/* TEXT NOTICE */
.text-notice {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ADD FUNDS STYLES */
.quick-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  background: var(--card);
  border: 1px solid #7C7CFF;
  color: #7C7CFF;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.amount-btn:hover {
  background: #7C7CFF;
  color: white;
}

.note {
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* AUTH FORMS */
.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  padding: 20px;
  min-height: 100vh;
}

.auth-icon-wrapper {
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.auth-boostora-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.auth-logo {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}

.auth-subtitle {
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

.auth-form {
  max-width: 400px;
  margin: 0 auto;
}

.input-wrapper {
  position: relative;
  margin-bottom: 14px;
}

.input-wrapper input {
  height: 52px;
  background: var(--input-bg);
  border-radius: 14px;
  padding: 0 16px;
  color: #fff;
  font-size: 15px;
  border: 1px solid var(--input-border);
  width: 100%;
  box-sizing: border-box;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--primary);
}

.eye-button {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 4px;
}

.eye-button:hover {
  color: var(--text);
}

.auth-button-container {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 10px;
  opacity: 1;
  transition: opacity 0.2s;
}

.auth-button-container.disabled {
  opacity: 0.6;
}

.auth-button {
  height: 54px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  width: 100%;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s;
}

.auth-button:hover {
  transform: translateY(-1px);
}

.auth-button:disabled {
  cursor: not-allowed;
  transform: none;
}

.auth-error-text {
  color: var(--error);
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

.auth-footer {
  margin-top: 32px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.auth-link {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

/* DASHBOARD STYLES */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.stat-card h3 {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.stat-card p {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text);
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-item {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-item h4 {
  margin: 0;
  color: var(--text);
}

.order-item p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status-pending {
  background: #f59e0b;
  color: white;
}

.status-completed {
  background: #10b981;
  color: white;
}

.status-failed {
  background: #ef4444;
  color: white;
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
}

.toast {
  background: var(--card);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--primary);
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toast-message {
  flex: 1;
  font-size: 0.95rem;
}

.toast-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
  transition: color 0.2s;
}

.toast-close:hover {
  color: var(--text);
}

/* Toast types */
.toast-success {
  border-left-color: #10b981;
}

.toast-error {
  border-left-color: #ef4444;
}

.toast-warning {
  border-left-color: #f59e0b;
}

.toast-info {
  border-left-color: var(--primary);
}

/* NEW DASHBOARD STYLES */
body {
  background: radial-gradient(circle at top, #14163d, #080a1e);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
}

.navbar nav a {
  margin: 0 16px;
  color: var(--muted);
  cursor: pointer;
}

.navbar nav a.active {
  color: var(--text);
  border-bottom: 2px solid var(--primary);
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

.user {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* CONTAINER */
.container {
  padding: 40px;
  max-width: 1200px;
  margin: auto;
}

h1 {
  margin-bottom: 24px;
}

/* BUTTONS */
.btn {
  background: var(--glass);
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
}

.btn.outline {
  background: transparent;
  border: 1px solid var(--primary);
}

.btn.small {
  padding: 6px 12px;
}

/* CARDS */
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(20px);
}

/* TOP GRID */
.top-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 20px;
  margin-bottom: 24px;
}

.wallet {
  background: linear-gradient(135deg,#7c7cff,#4e4eff);
}

.wallet h2 {
  font-size: 36px;
  margin: 10px 0;
}

.order {
  background: linear-gradient(135deg,#1c1f4a,#0b0d23);
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat {
  background: var(--card);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

/* MAIN GRID */
.main-grid {
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: 20px;
}

/* TABLE */
.table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.table th, .table td {
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

.table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BADGES */
.badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.success { background: #1d7f5f; }
.pending { background: #8a6d3b; }
.danger  { background: #7f2a2a; }

/* QUICK */
.quick-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 14px;
}

/* CATEGORIES */
.categories-container {
  margin-bottom: 2rem;
}

.category-select {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 124, 255, 0.2);
}

.category-select option {
  background: var(--bg);
  color: var(--text);
  padding: 0.5rem;
}

/* DASHBOARD SELECT RESPONSIVE */
#service, #subService {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 16px;
}

@media (max-width: 768px) {
  #service, #subService {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  #service, #subService {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .top-grid,
  .main-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
  }

  .categories-container {
    margin-bottom: 1.5rem;
  }

  .category-select {
    max-width: 100%;
  }
}

/* NEW DASHBOARD STYLES - EZDrawer Sidebar */
.EZDrawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
}

.EZDrawer__checkbox {
  display: none;
}

.EZDrawer__container {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.EZDrawer__checkbox:checked ~ .EZDrawer__container {
  transform: translateX(0);
}

.EZDrawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.EZDrawer__checkbox:checked ~ .EZDrawer__overlay {
  opacity: 1;
  visibility: visible;
}

/* Bootstrap-like styles */
.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  color: #6c757d;
  background: none;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link:hover {
  border-color: #e9ecef #e9ecef #dee2e6;
  isolation: isolate;
}

.media-tab {
  margin: 0 4px;
}

.media-tab .nav-link {
  padding: 8px;
  border-radius: 8px !important;
  transition: all 0.2s ease;
}

.media-tab .nav-link:hover {
  background: rgba(124, 124, 255, 0.1);
}

.media-tab .nav-link.active {
  background: var(--primary);
  border-color: var(--primary);
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  appearance: none;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-success {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
}

.btn-link {
  font-weight: 400;
  color: #0d6efd;
  text-decoration: none;
}

.btn-link:hover {
  color: #0a58ca;
  text-decoration: underline;
}

.btn-floating {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

.btn-block {
  display: block;
  width: 100%;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: 0.375rem;
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: 0.375rem;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.125);
}

.list-group-item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.list-group-item:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}

.list-group-item-action {
  width: 100%;
  color: #495057;
  text-align: inherit;
}

.list-group-item-action:hover {
  z-index: 1;
  color: #495057;
  text-decoration: none;
  background-color: #f8f9fa;
}

.list-group-item-action:focus {
  z-index: 1;
  color: #495057;
  background-color: #f8f9fa;
}

.list-group-item-action.active {
  z-index: 2;
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.ripple {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.ripple-surface {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Custom Boostora styles */
.bg-primary-light {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
}

.bg-pink {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

.font-black {
  font-weight: 900;
}

.line-height-small {
  line-height: 1.2;
}

.w-250 {
  width: 250px;
}

.cursor-pointer {
  cursor: pointer;
}

.text-transform-uppercase {
  text-transform: uppercase;
}

/* CSS for React Select simulation */
.css-b62m3t-container {
  position: relative;
}

.css-13cymwt-control {
  align-items: center;
  background-color: hsl(0, 0%, 100%);
  border-color: hsl(0, 0%, 80%);
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  box-sizing: border-box;
  cursor: default;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 38px;
  outline: 0 !important;
  position: relative;
  transition: all 100ms;
}

.css-1dyz3mf {
  align-items: center;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  padding: 2px 8px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.css-1dimb5e-singleValue {
  color: hsl(0, 0%, 20%);
  margin-left: 0;
  margin-right: 0;
  max-width: calc(100% - 8px);
  overflow: hidden;
  position: absolute;
  text-overflow: ellipsis;
  white-space: nowrap;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.css-1hac4vs-dummyInput {
  background: 0;
  border: 0;
  font-size: inherit;
  outline: 0;
  padding: 0;
  width: 1px;
  color: transparent;
  left: -100px;
  opacity: 0;
  position: relative;
  transform: scale(0);
}

.css-1wy0on6 {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  box-sizing: border-box;
}

.css-1u9des2-indicatorSeparator {
  align-self: stretch;
  background-color: hsl(0, 0%, 80%);
  margin-bottom: 8px;
  margin-top: 8px;
  width: 1px;
  box-sizing: border-box;
}

.css-1xc3v61-indicatorContainer {
  color: hsl(0, 0%, 80%);
  display: flex;
  padding: 8px;
  transition: color 150ms;
  box-sizing: border-box;
}

.css-7pg0cj-a11yText {
  label: 'a11yText';
  z-index: 9999;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  width: 1px;
  position: absolute;
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
}
