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

:root {
  --bg-color: #09090b;
  --text-color: #f4f4f5;
  --text-muted: #a1a1aa;
  --accent-color: #6366f1;
  --accent-hover: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --glass-bg: rgba(24, 24, 27, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --surface-color: #18181b;
  --success-color: #10b981;
  --danger-color: #f43f5e;
  --font-main: 'Outfit', sans-serif;
  --transition-smooth: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-color);
  font-family: var(--font-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.01);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.3);
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(24, 24, 27, 0.55);
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.25);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  background: #0c0c0e;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-color);
  font-family: var(--font-main);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.input-field:focus {
  outline: none;
  background: #121214;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-group {
  display: flex;
  margin-bottom: 20px;
  background: #0c0c0e;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  align-items: center;
  transition: var(--transition-smooth);
  overflow: hidden; 
}

.input-group:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #121214;
}

.input-group .input-field {
  border: none;
  background: transparent;
  margin-bottom: 0;
  border-radius: 0;
  padding-left: 12px; 
}

.input-group .input-field:focus {
  box-shadow: none; 
  background: transparent;
}

.input-prefix {
  padding: 0 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  height: 100%;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--glass-border);
  user-select: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.shimmer-text {
  background: linear-gradient(
    to right, 
    #fff 20%, 
    var(--accent-color) 40%, 
    #a5b4fc 60%, 
    #fff 80%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.custom-modal-content {
  min-width: 320px;
  max-width: 90%;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal-overlay.active .custom-modal-content {
  transform: scale(1);
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-display {
  width: 100%;
  padding: 12px 16px;
  background: #0c0c0e;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-color);
  font-family: var(--font-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  user-select: none;
  font-size: 0.95rem;
}

.custom-select-display:hover:not(.disabled) {
  border-color: rgba(255, 255, 255, 0.15);
  background: #121214;
}

.custom-select-display.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 250px;
  overflow-y: auto;
  z-index: 50;
  background: #18181b;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: var(--transition-smooth);
}

.custom-select-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.08);
  color: #fff;
}

.custom-toast {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #18181b;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10001;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
  min-width: 300px;
}

.custom-toast.active {
  top: 24px;
}

.custom-toast-icon {
  font-size: 1.2rem;
}

.custom-toast-msg {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
}

.hidden {
  display: none !important;
}

