:root {
  --primary-color: #0d6efd;
  --bg-dark: #1a1a1a;
  --card-bg: rgba(33, 37, 41, 0.85);
  --text-muted: #adb5bd;
}

body {
  background-color: var(--bg-dark);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  color: #fff !important;
}

label,
.form-check-label,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
small,
.navbar-brand {
  color: #fff !important;
}

.text-primary {
  color: #3d8bfd !important;
}

.text-muted {
  color: #dee2e6 !important;
}

.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.glass-card {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.upload-area {
  border: 2px dashed #495057;
  border-radius: 10px;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover,
.upload-area.border-primary {
  border-color: var(--primary-color) !important;
  background-color: rgba(13, 110, 253, 0.1);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.card {
  background-color: rgba(33, 37, 41, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.custom-radio {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
}

.progress-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: width 0.5s ease;
  z-index: 0;
}

.contact-btn {
  border-width: 2px;
  box-shadow: 0 0 15px rgba(13, 110, 253, 0.5);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  box-shadow: 0 0 25px rgba(13, 110, 253, 0.8);
  transform: translateY(-2px);
}

#submitBtn span {
  position: relative;
  z-index: 1;
}

.console-output {
  font-family: "Consolas", "Monaco", monospace;
  font-size: 0.85rem;
  background-color: #000;
  color: #0f0;
  padding: 1rem;
  border-radius: 5px;
  height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
  border: 1px solid #333;
}

.success-icon i {
  text-shadow: 0 0 20px rgba(25, 135, 84, 0.5);
}

.error-icon i {
  text-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.captcha-img {
  cursor: pointer;
  border: 1px solid #6c757d;
  border-left: none;
  width: 100px;
  height: 38px;
  object-fit: cover;
  background: #111827;
}

.table > :not(caption) > * > * {
  background-color: rgba(0, 0, 0, 0.16) !important;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #6c757d;
}
