/* Custom Styling System for LWC-WC 1009 Appeal Companion */

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2dd4bf50;
}

/* Sidebar Tab Button Active Styles */
.tab-btn {
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn:hover {
  color: #f8fafc;
  background: rgba(30, 41, 59, 0.4);
}

.tab-btn.active {
  color: #2dd4bf;
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.2);
  box-shadow: inset 0 0 12px rgba(20, 184, 166, 0.05);
}

/* Status indicator pulsing animations */
@keyframes pulse-green {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-red {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

.status-dot.connected {
  background-color: #10b981;
  animation: pulse-green 2s infinite;
}

.status-dot.disconnected {
  background-color: #ef4444;
  animation: pulse-red 2s infinite;
}

/* Tab Content Visibility classes */
.tab-content {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none;
}

.tab-content.show {
  display: flex !important;
  opacity: 1;
  transform: translateY(0);
}

/* Drag & Drop Highlight effect */
#dropzone.highlight {
  border-color: #2dd4bf;
  background-color: rgba(20, 184, 166, 0.05);
  box-shadow: 0 10px 25px -5px rgba(20, 184, 166, 0.1);
}

/* Micro-interactions: Cards zoom & shine */
.compliance-item {
  transition: all 0.2s ease;
}

.compliance-item:hover {
  background-color: rgba(30, 41, 59, 0.5);
  border-color: rgba(20, 184, 166, 0.2);
}

/* Custom checkmark check transitions */
.custom-checkbox input[type="checkbox"]:checked ~ .checkmark-icon {
  color: #2dd4bf;
  transform: scale(1.1);
}

/* Glowing buttons */
.btn-glow-teal {
  position: relative;
  overflow: hidden;
}

.btn-glow-teal::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-glow-teal:hover::after {
  left: 125%;
}
