/* ============================================
   Modern Home Page Styles - Responsive Design
   ============================================ */

/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
}

.home-page-body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #2d3748 !important;
  line-height: 1.6;
}

.home-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   Header Styles
   ============================================ */
.home-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(102, 126, 234, 0.15);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.home-header .navbar {
  padding: 0;
}

.home-header .logo-img {
  max-height: 70px;
  width: auto;
  transition: transform 0.3s ease;
}

.home-header .logo-img:hover {
  transform: scale(1.05);
}

.home-header .navbar-toggler {
  border: 2px solid #667eea;
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.home-header .navbar-toggler:hover {
  background: #667eea;
  color: white;
}

.home-header .navbar-toggler-icon i {
  color: #667eea;
  font-size: 1.2rem;
}

.home-header .navbar-toggler:hover .navbar-toggler-icon i {
  color: white;
}

.home-header .nav-link {
  color: #4a5568 !important;
  font-weight: 500;
  padding: 10px 20px !important;
  margin: 0 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-header .nav-link:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.home-header .nav-link i {
  font-size: 0.9rem;
}

/* ============================================
   Hero Section Styles
   ============================================ */
.hero-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: calc(100vh - 200px);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Shapes */
.hero-bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
    opacity: 0.5;
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
    opacity: 0.4;
  }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  animation: fadeInUp 0.8s ease;
  position: relative;
  z-index: 1;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 25px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-badge i {
  color: #ffd700;
  font-size: 1rem;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(102, 126, 234, 0.4);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  font-weight: 300;
}

/* Track Form Styles */
.track-form-wrapper {
  background: white;
  border-radius: 24px;
  padding: 45px 40px;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3), 0 0 0 1px rgba(102, 126, 234, 0.1);
  animation: slideIn 0.8s ease 0.2s both;
  position: relative;
  overflow: hidden;
}

.track-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Form Icon Wrapper */
.form-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  animation: pulse 2s ease infinite;
}

.form-icon-wrapper i {
  font-size: 2rem;
  color: white;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-form-header {
  margin-bottom: 25px;
  text-align: center;
}

.track-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.track-label i {
  color: #667eea;
  font-size: 1.2rem;
}

.track-hint {
  display: block;
  color: #718096;
  font-size: 0.9rem;
  margin-top: 5px;
  text-align: center;
}

.track-input-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.input-wrapper {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  font-size: 1.1rem;
  z-index: 2;
  transition: all 0.3s ease;
}

.track-input {
  width: 100%;
  padding: 18px 25px 18px 55px;
  font-size: 1.1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.track-input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
  padding-left: 60px;
}

.track-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: #764ba2;
  transform: translateY(-50%) scale(1.1);
}

.btn-track {
  padding: 18px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-track:hover::before {
  width: 300px;
  height: 300px;
}

.btn-track:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-track:active {
  transform: translateY(-1px);
}

.btn-track .btn-text,
.btn-track .btn-icon {
  position: relative;
  z-index: 1;
}

.btn-track .btn-icon {
  transition: transform 0.3s ease;
}

.btn-track:hover .btn-icon {
  transform: translateX(5px);
}

/* ============================================
   Results Section Styles
   ============================================ */
.results-section {
  padding: 40px 20px;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.results-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.result-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
  overflow: hidden;
  animation: slideUp 0.6s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-column {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.status-display {
  text-align: center;
  width: 100%;
}

.status-label {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 25px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.status-label i {
  font-size: 1.3rem;
}

.status-value {
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.details-column {
  padding: 40px;
}

.details-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.details-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #667eea;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.details-header i {
  color: #667eea;
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.detail-item:hover {
  background: white;
  border-color: #667eea;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.detail-item.highlight-item {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe0b2 100%);
  border-color: #ff9800;
}

.detail-item.highlight-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.3);
}

.detail-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 12px;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.highlight-item .detail-icon {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.detail-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 1.1rem;
  font-weight: 500;
  color: #2d3748;
  word-break: break-word;
}

.highlight-item .detail-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ff6f00;
}

/* ============================================
   Footer Styles
   ============================================ */
/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  min-width: 140px;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.trust-item i {
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 5px;
}

.trust-item span {
  font-size: 0.85rem;
  font-weight: 500;
}

.home-footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  margin-top: auto;
  box-shadow: 0 -2px 10px rgba(102, 126, 234, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a5568;
  font-size: 0.9rem;
}

.footer-info p {
  color: #4a5568;
  margin: 0;
}

.footer-info i {
  color: #e53e3e;
  animation: heartbeat 2s ease infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.footer-info strong {
  color: #667eea;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 8px;
}

.footer-links a:hover {
  color: #764ba2;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.footer-links a i {
  font-size: 0.85rem;
}

/* ============================================
   Loader Styles
   ============================================ */
.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 106px;
  height: 106px;
  background: url('../../img/loading-page.gif') no-repeat center;
  z-index: 9999;
}

/* ============================================
   Responsive Design - Tablet & Desktop
   ============================================ */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .track-form-wrapper {
    padding: 30px 25px;
  }

  .status-column {
    min-height: 250px;
    padding: 40px 25px;
  }

  .status-value {
    font-size: 2rem;
  }

  .details-column {
    padding: 30px 25px;
  }
}

/* ============================================
   Responsive Design - Mobile
   ============================================ */
@media (max-width: 767.98px) {
  .home-header {
    padding: 10px 0;
  }

  .home-header .logo-img {
    max-height: 50px;
  }

  .hero-section {
    padding: 40px 15px;
    min-height: calc(100vh - 150px);
  }

  .floating-shape {
    display: none;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 8px 15px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .track-form-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .form-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .form-icon-wrapper i {
    font-size: 1.5rem;
  }

  .track-label {
    font-size: 1rem;
    flex-direction: column;
    gap: 5px;
  }

  .track-input-group {
    flex-direction: column;
  }

  .input-wrapper {
    min-width: 100%;
  }

  .track-input {
    min-width: 100%;
    padding: 15px 20px 15px 50px;
    font-size: 1rem;
  }

  .input-icon {
    left: 15px;
    font-size: 1rem;
  }

  .btn-track {
    width: 100%;
    justify-content: center;
    padding: 15px 25px;
    font-size: 1rem;
  }

  .trust-indicators {
    gap: 15px;
    margin-top: 30px;
  }

  .trust-item {
    min-width: 100px;
    padding: 12px 15px;
  }

  .trust-item i {
    font-size: 1.5rem;
  }

  .trust-item span {
    font-size: 0.75rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .results-section {
    padding: 30px 15px;
  }

  .status-column {
    padding: 30px 20px;
    min-height: 200px;
  }

  .status-value {
    font-size: 1.8rem;
  }

  .details-column {
    padding: 25px 20px;
  }

  .details-header h3 {
    font-size: 1.3rem;
  }

  .detail-item {
    padding: 15px;
    gap: 15px;
  }

  .detail-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .detail-value {
    font-size: 1rem;
  }

  .highlight-item .detail-value {
    font-size: 1.2rem;
  }

  .home-footer {
    padding: 20px 15px;
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .track-form-wrapper {
    padding: 20px 15px;
  }

  .track-label {
    font-size: 0.95rem;
  }

  .status-value {
    font-size: 1.5rem;
  }

  .details-header h3 {
    font-size: 1.2rem;
  }

  .detail-item {
    flex-direction: column;
    text-align: center;
  }

  .detail-icon {
    margin: 0 auto;
  }
}

/* ============================================
   Print Button Styles
   ============================================ */
.print-button-wrapper {
  text-align: center;
  margin: 30px 0;
  padding: 20px 0;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-print {
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-print::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-print:hover::before {
  width: 300px;
  height: 300px;
}

.btn-print:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.btn-print:active {
  transform: translateY(-1px);
}

.btn-print i,
.btn-print span {
  position: relative;
  z-index: 1;
}

.btn-print i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-print:hover i {
  transform: scale(1.1);
}

/* Download Button Styles */
.btn-download {
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-download::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-download:hover::before {
  width: 300px;
  height: 300px;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
  background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
}

.btn-download:active {
  transform: translateY(-1px);
}

.btn-download:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-download i,
.btn-download span {
  position: relative;
  z-index: 1;
}

.btn-download i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-download:hover:not(:disabled) i {
  transform: scale(1.1);
}

.btn-download .fa-spinner {
  animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 767.98px) {
  .btn-print,
  .btn-download {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .print-button-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-print,
  .btn-download {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .home-header,
  .home-footer,
  .btn-track,
  .print-button-wrapper {
    display: none !important;
  }

  .result-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ============================================
   Accessibility & Animations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.track-input:focus,
.btn-track:focus,
.nav-link:focus {
  outline: 3px solid rgba(102, 126, 234, 0.5);
  outline-offset: 2px;
}

/* ============================================
   Override Black Colors from Bootstrap/AdminLTE
   ============================================ */

.home-page-body .bio-row p span.bold i {
  color: #667eea !important;
}

.home-page-body .navbar-brand,
.home-page-body .navbar-brand * {
  color: inherit !important;
}

.home-page-body .form-control,
.home-page-body input,
.home-page-body textarea,
.home-page-body select {
  color: #2d3748 !important;
}

.home-page-body .text-dark,
.home-page-body .text-black,
.home-page-body [class*="text-dark"],
.home-page-body [class*="text-black"] {
  color: #2d3748 !important;
}

.home-page-body h1:not(.hero-title),
.home-page-body h2:not(.hero-title),
.home-page-body h3:not(.hero-title),
.home-page-body h4,
.home-page-body h5,
.home-page-body h6 {
  color: #2d3748 !important;
}

.home-page-body p {
  color: #2d3748 !important;
}

.home-page-body label {
  color: #2d3748 !important;
}

.home-page-body small {
  color: #718096 !important;
}

.home-page-body a:not(.nav-link):not(.btn-track) {
  color: #667eea !important;
}

.home-page-body a:not(.nav-link):not(.btn-track):hover {
  color: #764ba2 !important;
}

/* Override any AdminLTE black colors */
.home-page-body .mat-card .overlay > .fas {
  color: #667eea !important;
}

.home-page-body .postbox {
  color: #2d3748 !important;
}

.home-page-body .postbox .chart-legend li {
  color: #2d3748 !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .track-form-wrapper,
  .result-card {
    border: 2px solid #667eea;
  }

  .btn-track {
    border: 2px solid #fff;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .track-form-wrapper,
  .result-card,
  .home-header,
  .home-footer {
    background: #1e293b;
    color: #f1f5f9;
  }

  .track-input {
    background: #334155;
    color: #f1f5f9;
    border-color: #475569;
  }

  .detail-item {
    background: #334155;
    color: #f1f5f9;
  }

  .detail-value {
    color: #f1f5f9;
  }

  .detail-label {
    color: #818cf8;
  }
  
  .track-label {
    color: #f1f5f9;
  }
}
