/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

:root {
  --gold: #f2c94c;
  --gold-600: #e1b742;
  --gold-700: #c69a2e;
  --blue: #0f3d91;
  --blue-600: #0b2f6b;
  --ink: #0b1020;
  --bg: #070b14;
  --card: #0e1526;
  --muted: #8fa8d6;
  --success: #22c55e;
}
html,
body {
  height: 100%;
}
body {
  background: radial-gradient(
      1200px 800px at 20% -10%,
      rgba(59, 130, 246, 0.2),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 120% 10%,
      rgba(242, 201, 76, 0.18),
      transparent 60%
    ),
    var(--bg);
  background-attachment: fixed;
  color: #e6ecff;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
}
.glass {
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-border {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}
.card-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(242, 201, 76, 0.5),
    rgba(59, 130, 246, 0.5)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}
.btn-primary-gradient {
  background: linear-gradient(135deg, var(--gold), #ffd76a);
  color: #1a1f2e;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.btn-primary-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn-primary-gradient:hover {
  color: #1a1f2e !important;
  transform: scale(1.02);
}

.btn-primary-gradient:hover::before {
  left: 100%;
}
/* .btn-primary-gradient:hover {
  filter: brightness(0.96);
  color: #1a1f2e !important;
  animation: pulse-glow 1.5s infinite;
} */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 106, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 106, 0);
  }
}

.btn-outline-glass {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e6ecff;
}
.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.badge-soft {
  background: linear-gradient(
    135deg,
    rgba(242, 201, 76, 0.2),
    rgba(59, 130, 246, 0.2)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e6ecff;
}
.muted {
  color: var(--muted);
}
.countdown-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(242, 201, 76, 0.18),
    0 0 20px rgba(242, 201, 76, 0.35);
}
.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: radial-gradient(
    circle at 30% 30%,
    #fff,
    var(--gold) 60%,
    transparent 70%
  );
  filter: blur(0.3px);
  opacity: 0.9;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) translateX(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.8;
  }
}
.shimmer {
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.06) 20%,
      rgba(255, 255, 255, 0.18) 35%,
      rgba(255, 255, 255, 0.06) 50%
    )
    no-repeat;
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6ecff;
}
.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}
.progress {
  background-color: rgba(255, 255, 255, 0.12);
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  background: linear-gradient(90deg, var(--gold), #ffd76a);
}
.avatar-pill {
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
}
.avatar-gold {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
}
.avatar-green {
  background: linear-gradient(135deg, #34d399, #059669);
}
.avatar-violet {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}
.avatar-pink {
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.shimmer {
  background: linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.06) 20%,
      rgba(255, 255, 255, 0.18) 35%,
      rgba(255, 255, 255, 0.06) 50%
    )
    no-repeat;
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.status-open {
  color: #34d399;
}
.status-closed {
  color: #eb6779;
}
.status-drawing {
  color: var(--gold);
}

/* Custom Accordion Styling */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(255, 255, 255, 0.08);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-color: #e6ecff;
  --bs-accordion-btn-focus-border-color: rgba(59, 130, 246, 0.6);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
  --bs-accordion-body-bg: rgba(255, 255, 255, 0.02);
  --bs-accordion-active-bg: rgba(255, 255, 255, 0.05);
}

.accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
  border-radius: 1rem !important;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  color: #e6ecff;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: rgba(59, 130, 246, 0.1);
  color: #fff;
  box-shadow: none;
}

.accordion-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e6ecff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2359a6f6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  line-height: 1.6;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gold), #59a6f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--gold);
  font-weight: 600;
}

.highlight-blue {
  color: #59a6f6;
  font-weight: 600;
}

.highlight-green {
  color: #34d399;
  font-weight: 600;
}
