/* General font and base */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f6fb;
}

/* Hero section background */
.bg-hero {
  background-image: url('../img/bg2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  min-height: 100vh;
}

/* Hero section background */
.bg-hero2 {
  background-image: url('../img/loginbg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  min-height: 100vh;
}


.bg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 0;
}

.bg-hero > * {
  position: relative;
  z-index: 1;
}

/* Colors */
.text-primary {
  color: #095bcb;
}

.bg-primary {
  background-color: #095bcb;
}

.bg-gold {
  background-color: #f9b233;
}

/* Upload buttons */
.upload-btn {
  background-color: #ffffff;
  border: 1px solid #dbeafe;
  color: #095bcb;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.upload-btn:hover {
  background-color: #e0edff;
  border-color: #93c5fd;
}

/* Inputs */
input[type="text"], input[type="file"] {
  background-color: #ffffff;
}

/* Upload form card (buttons + drag area + panel) */
.bg-white.shadow-xl.rounded-lg.p-8 {
  background-color: #f8fbff; /* subtle blue tint */
  border: 1px solid #dbeafe;
  box-shadow: 0 10px 25px rgba(0, 91, 203, 0.08);
}

/* Upload panel after submit */
#uploadPanel {
  background-color: #f0f4fa; /* even more distinct */
  border: 1px solid #c7ddf8;
  box-shadow: 0 6px 15px rgba(0, 91, 203, 0.07);
  border-radius: 0.5rem;
}


/* Drag and drop */
#dropArea.dragging {
  background-color: #e0f2fe;
  border-color: #3b82f6;
  color: #095bcb;
}

/* Fade effect */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
progress[value] {
  appearance: none;
  -webkit-appearance: none;
}

progress[value]::-webkit-progress-bar {
  background-color: #e5e7eb;
  border-radius: 6px;
}

progress[value]::-webkit-progress-value {
  background-color: #3b82f6;
  border-radius: 6px;
  transition: width 0.4s ease;
}

progress[value]::-moz-progress-bar {
  background-color: #3b82f6;
}

/* Upload success message */
#uploadSuccess {
  font-size: 1.5rem;
  color: #10b981;
  display: none;
  margin-top: 0.5rem;
}

/* Enlarged logo */
.logo-large {
  height: 220px;
  width: auto;
  margin-bottom: 1rem;
}



#loader {
  backdrop-filter: blur(4px);
  transition: opacity 0.5s ease;
  background-color: rgba(255, 255, 255, 0.5);
}

#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

#dropArea.dragging {
  outline: 3px dashed #6366f1;
  background-color: rgba(99, 102, 241, 0.05); /* Tailwind Indigo-500 at low opacity */
  transition: background-color 0.2s ease-in-out;
}
