.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: none;
    margin-bottom: 20px;
}

.card-header {
    border-radius: 8px 8px 0 0 !important;
    padding: 12px 20px;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 10px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.prediction-positive {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.5rem;
}

.prediction-negative {
    color: #198754;
    font-weight: bold;
    font-size: 1.5rem;
}

.prediction-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#predictionResult {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #198754;
}

.error-details {
    font-family: monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
}
.braille-spinner {
  display: inline-block;
  font-size: 2rem;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.spinner-text {
  margin-top: 1rem;
  font-size: 1.2rem;
}