/*! tailwindcss production build | MIT License | https://tailwindcss.com */

/* Base styles */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: 'Rawline', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  margin: 0;
  line-height: inherit;
  font-family: 'Rawline', sans-serif !important;
}

/* Military color variables */
:root {
  --military-green: #2D5A27;
  --military-dark: #1A3B19;
  --military-light: #4A7A44;
}

/* Utility classes */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.min-h-screen { min-height: 100vh; }

.bg-gray-50 { background-color: #f9fafb; }
.bg-white { background-color: #ffffff; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-military-green { background-color: var(--military-green); }
.bg-military-dark { background-color: var(--military-dark); }

.text-white { color: #ffffff; }
.text-gray-600 { color: #4b5563; }
.text-gray-400 { color: #9ca3af; }
.text-gray-300 { color: #d1d5db; }
.text-military-green { color: var(--military-green); }
.text-military-dark { color: var(--military-dark); }

.border-b { border-bottom-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.mr-4 { margin-right: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mt-auto { margin-top: auto; }
.mt-6 { margin-top: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }

.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }

.header-agency-name {
  font-size: 0.75rem;
  line-height: 1rem;
  white-space: nowrap;
}

.font-medium { font-weight: 500; }
.font-bold { font-weight: 700; }

.hidden { display: none; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-8 { gap: 2rem; }

.opacity-75 { opacity: 0.75; }
.text-center { text-align: center; }

.hover\:text-military-dark:hover { color: var(--military-dark); }
.hover\:text-gray-300:hover { color: #d1d5db; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
  .header-agency-name {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

/* Custom animations */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Global border-radius override - force 2px for all rounded elements */
.rounded, .rounded-sm, .rounded-md, .rounded-lg, .rounded-xl, .rounded-2xl, .rounded-3xl, .rounded-full {
  border-radius: 2px !important;
}

/* Maintain perfect circles for spinner and loading elements */
.rounded-full.spinner, .loading-spinner, .animate-spin {
  border-radius: 50% !important;
}

/* Forms and buttons */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 2px;
  font-size: 0.875rem;
  background-color: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: var(--military-green);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--military-green);
  color: white;
}

.btn-primary:hover {
  background-color: var(--military-dark);
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

/* Consistent button styles */
.btn-military {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--military-green);
  color: white;
  font-weight: 600;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
}

.btn-military:hover {
  background-color: var(--military-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(45, 90, 39, 0.2);
}

.btn-military-large {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 52px;
}

.btn-secondary-std {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #6b7280;
  color: white;
  font-weight: 600;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
}

.btn-secondary-std:hover {
  background-color: #4b5563;
  transform: translateY(-1px);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #dc2626;
  color: white;
  font-weight: 600;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
}

.btn-danger:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
}

.btn-danger-large {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 52px;
}

/* Icon alignment */
.icon-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-text i {
  flex-shrink: 0;
}

/* Page headers */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--military-dark);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.page-header .divider {
  height: 4px;
  width: 128px;
  background-color: var(--military-green);
}

/* Consistent card styling */
.card {
  background: white;
  border-radius: 2px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--military-green);
  color: white;
  border-radius: 2px;
  font-size: 18px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--military-dark);
  margin-bottom: 8px;
}

.card-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}
