/* FraudLab Shared Components - shared by pages that do not load style.css */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: #0F172A;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background: #1E293B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #0F172A !important;
}

.btn-outline:hover {
  background: #F8FAFC;
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
}

.btn-disabled {
  background: #E2E8F0 !important;
  color: #94A3B8 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Cards */
.card {
  background: #FFFFFF;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-l1 {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.badge-l2 {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  color: #3730A3;
}

.badge-l3 {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}

/* Form Inputs */
.form-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius);
  color: #090D16;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-spin {
  display: inline-block;
  animation: spin 1.2s linear infinite;
}

@media (max-width: 576px) {
  .btn {
    width: auto;
    min-height: 40px;
  }
}
