body {
  font-family: "Inter", "Poppins", "Roboto", sans-serif;
  background-color: #f8fafc;
}

.govt-blue {
  background-color: #40b3fa;
}

.govt-green {
  background: linear-gradient(135deg, #40b3fa 0%, #22c55e 100%);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-processing {
  background-color: #40b3fa;
  color: #15803d;
}

.status-approved {
  background-color: #d1fae5;
  color: #40b3fa;
}

.status-rejected {
  background-color: #fee2e2;
  color: #b91c1c;
}

.progress-bar {
  position: relative;
}

.step {
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.3s ease;
}

.step.active .step-circle {
  background: linear-gradient(135deg, #40b3fa 0%, #22c55e 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(20, 181, 58, 0.3);
}

.step-connect {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  z-index: 0;
}

.step-connect.active {
  background: linear-gradient(90deg, #40b3fa 0%, #22c55e 100%);
}

/* Drawer Styles */
.drawer {
  position: relative;
  z-index: 50;
}

.drawer-side {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 50;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 49;
}

.drawer-toggle:checked ~ .drawer-side {
  transform: translateX(0);
}

.drawer-toggle:not(:checked) ~ .drawer-side {
  transform: translateX(-100%);
}

.drawer-toggle:checked ~ .drawer-overlay {
  display: block;
}

.drawer-toggle:not(:checked) ~ .drawer-overlay {
  display: none;
}

/* Ensure main content stays below drawer */
main {
  position: relative;
  z-index: 1;
}

/* Form styles */
.form-control {
  margin-bottom: 1.5rem;
}

.label {
  margin-bottom: 0.5rem;
}

.input,
.textarea {
  transition: all 0.3s ease;
}

.input:focus,
.textarea:focus {
  border-color: #40b3fa;
  box-shadow: 0 0 0 3px rgba(20, 181, 58, 0.15);
}

/* File input styles */
.file-input {
  border: 2px dashed #e5e7eb;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 1rem;
}

.file-input:hover {
  border-color: #40b3fa;
  background-color: rgba(20, 181, 58, 0.05);
}

/* Button styles */
.btn {
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #40b3fa 0%, #22c55e 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(20, 181, 58, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #15803d 0%, #40b3fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(20, 181, 58, 0.25);
}

/* Card styles */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Animation classes */
.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

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

/* Responsive styles */
@media (max-width: 640px) {
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .step-connect {
    top: 16px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #40b3fa 0%, #15803d 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid #40b3fa;
  outline-offset: 2px;
}

/* Loading state */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Error state */
.input-error {
  border-color: #ef4444;
}

.input-error:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Success state */
.input-success {
  border-color: #40b3fa;
}

.input-success:focus {
  box-shadow: 0 0 0 3px rgba(20, 181, 58, 0.15);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.status-pending {
  background-color: #fef3c7;
  color: #92400e;
}
.status-processing {
  background-color: #e0f2fe;
  color: #0369a1;
}
.status-approved {
  background-color: #d1fae5;
  color: #065f46;
}
.status-rejected {
  background-color: #fee2e2;
  color: #b91c1c;
}
.progress-bar {
  position: relative;
}
.step {
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.3s ease;
}
.step.active .step-circle {
  background-color: #1e40af;
  color: white;
}
.step-connect {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  z-index: 0;
}
.step-connect.active {
  background-color: #1e40af;
}

/* Drawer Styles */
.drawer {
  position: relative;
  z-index: 50;
}

.drawer-side {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 50;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 49;
}

.drawer-toggle:checked ~ .drawer-side {
  transform: translateX(0);
}

.drawer-toggle:not(:checked) ~ .drawer-side {
  transform: translateX(-100%);
}

.drawer-toggle:checked ~ .drawer-overlay {
  display: block;
}

.drawer-toggle:not(:checked) ~ .drawer-overlay {
  display: none;
}

/* Ensure main content stays below drawer */
main {
  position: relative;
  z-index: 1;
}

/* Form styles */
.form-control {
  margin-bottom: 1.5rem;
}

.label {
  margin-bottom: 0.5rem;
}

.input,
.textarea {
  transition: all 0.3s ease;
}

.input:focus,
.textarea:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

/* File input styles */
.file-input {
  border: 2px dashed #e5e7eb;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.file-input:hover {
  border-color: #1e40af;
  background-color: rgba(30, 64, 175, 0.05);
}

/* Button styles */
.btn {
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #1e40af;
  color: white;
}

.btn-primary:hover {
  background-color: #1e3a8a;
  transform: translateY(-2px);
}

/* Card styles */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animation classes */
.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

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

/* Responsive styles */
@media (max-width: 640px) {
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }

  .step-connect {
    top: 16px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #1e3a8a;
}

/* Focus styles */
*:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

/* Loading state */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Error state */
.input-error {
  border-color: #ef4444;
}

.input-error:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Success state */
.input-success {
  border-color: #40b3fa;
}

.input-success:focus {
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
