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;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

/* Validation message styling */
.list-group-item-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.list-group-item-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.list-group-item-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Card styling */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header h5 {
    margin: 0;
}

/* Editor enhancements */
.CodeMirror {
    height: 500px !important;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
}

.CodeMirror-selected {
    background: #d7d4f0 !important;
}

.CodeMirror-focused .CodeMirror-selected {
    background: #d7d4f0 !important;
}
