/* Additional custom styles if needed */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Brand color variables */
:root {
  --brand-50: #f3f2ff;
  --brand-100: #e8e5ff;
  --brand-400: #9c8bff;
  --brand-500: #7b5cff;
  --brand-600: #5e46e6;
  --accent-400: #ff5fa2;
  --accent-500: #ff4f93;
  --warm-400: #ffc371;
  --ink: #1e1e2f;
  --muted: #5f6a7d;
  --line: #e0e0e0;
  --bg: #f7f8fc;
  --success: #2ecc71;
  --error: #ff4c60;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(to right, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Card auth */
.card-auth {
  border-radius: 20px;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .card-auth {
    padding: 2.5rem;
    box-shadow: 8px 8px 20px rgba(163, 177, 198, 0.6), -8px -8px 20px rgba(255, 255, 255, 0.9);
  }
}

/* Input primary */
.input-primary {
  border-radius: 14px;
  background-color: white;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  padding: 0.75rem;
  width: 100%;
}

.input-primary:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-500);
  outline: none;
}

.input-primary::placeholder {
  color: var(--muted);
}

/* Button primary */
.btn-primary {
  border-radius: 14px;
  background: linear-gradient(to right, var(--brand-500), var(--brand-500), var(--brand-400));
  background-size: 200% 200%;
  padding: 0.75rem 1.25rem;
  color: white;
  border: none;
  transition: background-position 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Button outline */
.btn-outline-primary {
  border-radius: 14px;
  background: transparent;
  border: 1px solid var(--brand-500);
  padding: 0.75rem 1.25rem;
  color: var(--brand-500);
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
}

.btn-outline-primary:hover {
  background: var(--brand-50);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-outline-primary:active {
  transform: scale(0.98);
}

/* Button google */
.btn-google {
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: white;
  color: var(--ink);
  transition: all 0.2s ease;
  padding: 0.75rem 1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-google:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-google:focus-visible {
  box-shadow: 0 0 0 2px var(--brand-500);
  outline: none;
}

/* Color classes */
.text-ink {
  color: var(--ink);
}

.text-mute {
  color: var(--muted);
}

.text-line {
  color: var(--line);
}

.text-brand-500 {
  color: var(--brand-500);
}

.text-brand-600 {
  color: var(--brand-600);
}

.text-accent-500 {
  color: var(--accent-500);
}

.text-success {
  color: var(--success);
}

.text-error {
  color: var(--error);
}

.bg-bg {
  background-color: var(--bg);
}

.bg-brand-50 {
  background-color: var(--brand-50);
}

.bg-brand-100 {
  background-color: var(--brand-100);
}

.bg-brand-400 {
  background-color: var(--brand-400);
}

.neumorphic-input {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.neumorphic-input:focus {
  box-shadow: inset 2px 2px 5px rgba(123, 97, 255, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.9);
  border-color: #7B61FF;
}

.btn-primary {
  background: linear-gradient(135deg, #7B61FF 0%, #6A4CFE 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(123, 97, 255, 0.3);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  box-shadow: 0 20px 45px rgba(123, 97, 255, 0.2);
}

.tag-pill {
  background: rgba(123, 97, 255, 0.1);
  color: #7B61FF;
  border: 1px solid rgba(123, 97, 255, 0.2);
  transition: all 0.2s ease;
}

.tag-pill:hover {
  background: rgba(123, 97, 255, 0.2);
  border-color: rgba(123, 97, 255, 0.3);
}

/* Dropdown menu styles */
.dropdown-menu {
  min-width: 200px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  background: white;
  z-index: 1000;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--brand-50);
  color: var(--brand-500);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--line);
  margin: 0.5rem 0;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

/* Custom animations */
.animate-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Range slider styling */
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7B61FF;
  cursor: pointer;
  border: 4px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

input[type="range"]::-webkit-slider-track {
  height: 6px;
  border-radius: 3px;
  background: #E5E7EB;
}

/* Decision Intelligence Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.roi-gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.decision-row-hover:hover {
  background: rgba(123, 97, 255, 0.03);
}

.metric-pill {
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(226, 232, 240, 1);
  border-radius: 12px;
}

.audit-settled-glow {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.audit-void-glow {
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}