html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Recent Files Improvements */
.recent-files .list-group-item {
  border-left: 3px solid #dc3545;
  transition: all 0.2s ease;
}

.recent-files .list-group-item:hover {
  background-color: #f8f9fa;
  border-left-color: #0d6efd;
}

.recent-files .text-truncate {
  line-height: 1.2;
}

.recent-files .btn-group .btn {
  padding: 0.25rem 0.5rem;
}

.recent-files .btn-group .btn i {
  font-size: 0.8rem;
}

/* File type indicator */
.file-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dc3545;
  margin-right: 0.5rem;
}

/* Template Builder Styles */
.template-builder .nav-pills .nav-link {
  border-radius: 0.5rem;
  margin-right: 0.5rem;
}

.template-builder .nav-pills .nav-link.active {
  background-color: #0d6efd;
}

.dynamic-form .form-label strong {
  color: #2c3e50;
}

.dynamic-form .form-label .text-danger {
  font-weight: bold;
}

.dynamic-form .currency-field {
  position: relative;
}

.dynamic-form .currency-field:before {
  content: '$';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 3;
  pointer-events: none;
}

.dynamic-form .currency-field input {
  padding-left: 25px;
}

.form-stats {
  background-color: #f8f9fa;
  border-radius: 0.375rem;
  padding: 1rem;
  border: 1px solid #dee2e6;
}

.results-container {
  min-height: 200px;
  max-height: 500px;
  overflow-y: auto;
}