.min-h-screen {
  min-height: 100vh;
}

.rounded-4xl {
  border-radius: 2rem;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Page Title Styles */
.check-result-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .check-result-title {
    font-size: 2rem;
  }
}

.title-highlight {
  position: relative;
  display: inline-block;
}

.title-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
  margin: 0 auto;
}

/* Image Section Styles */
.check-result-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0.5rem;
  width: 100%;
  min-height: 250px;
}

@media (min-width: 576px) {
  .check-result-image-container {
    min-height: 350px;
  }
}

@media (min-width: 992px) {
  .check-result-image-container {
    min-height: 450px;
  }
}

.check-result-image {
  width: 100%;
  height: auto;
  max-width: 300px;
  max-height: 250px;
  object-fit: contain;
}

@media (min-width: 576px) {
  .check-result-image {
    max-width: 400px;
    max-height: 350px;
  }
}

@media (min-width: 992px) {
  .check-result-image {
    max-width: 450px;
    max-height: 450px;
  }
}

/* Result Badge */
.result-badge {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  background-color: #ffeecc;
  border-radius: 0.5rem;
  color: black;
  padding: 0.5rem 0.75rem;
  position: absolute;
  bottom: -0.5rem;
  left: 1rem;
}

@media (min-width: 576px) {
  .result-badge {
    left: 3.5rem;
  }
}

.badge-icon {
  color: #2b9b5b;
  width: 1rem;
  height: 1rem;
}

@media (min-width: 576px) {
  .badge-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.badge-text {
  font-size: 0.75rem;
  margin: 0;
}

@media (min-width: 576px) {
  .badge-text {
    font-size: 0.875rem;
  }
}

/* Form Section Styles */
.check-result-form-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  padding: 1.5rem 1rem;
  width: 100%;
  min-height: 350px;
  display: flex;
  align-items: center;
}

@media (min-width: 576px) {
  .check-result-form-container {
    padding: 1.5rem;
    border-radius: 1rem;
  }
}

@media (min-width: 768px) {
  .check-result-form-container {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  .check-result-form-container {
    max-width: 420px;
  }
}

.check-result-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  outline: none;
  color: black;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

@media (min-width: 576px) {
  .form-input {
    font-size: 1rem;
  }
}

.form-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Submit Button */
.check-result-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #182700;
  border: 1px solid #7ac52d;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1rem;
  min-height: 48px;
}

.check-result-button:hover {
  background-color: #7ac52d;
  color: white;
}

.check-result-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.check-result-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(122, 197, 45, 0.3);
}

.button-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Loading Spinner */
.loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
  max-width: 300px;
  word-wrap: break-word;
}

.toast.success {
  background-color: #10b981;
}

.toast.error {
  background-color: #ef4444;
}

.toast.info {
  background-color: #3b82f6;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .check-result-form-container {
    margin-top: 1rem;
  }
}

/* Utility classes specific to check result page */
.text-highlight-green {
  color: #7ac52d;
}

.border-highlight {
  border-color: #7ac52d;
}

/* Focus states for accessibility */
.form-input:focus,
.check-result-button:focus {
  outline: 2px solid #7ac52d;
  outline-offset: 2px;
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  .result-badge {
    border: 2px solid #000;
  }
  
  .check-result-button {
    border-width: 2px;
  }
}