html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #f4f6f8;
  color: #333333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar-peergroup {
  background-color: #2a2a2a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.navbar-peergroup .navbar-brand {
  color: #007BFF;
  font-weight: 700;
  font-size: 1.3rem;
}

.navbar-peergroup .nav-link {
  color: #555555;
  font-weight: 500;
}

.navbar-peergroup .nav-link:hover {
  color: #007BFF;
}

/* Form Card */
.submission-card {
  background-color: #ffffff;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  padding: 2.5rem;
  margin-top: 1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-title {
  font-weight: 700;
  font-size: 1.75rem;
}

.form-subtitle {
  color: #666666;
}

.form-label {
  color: #444444;
  font-weight: 500;
}

.form-control, .form-select {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  color: #333333;
  border-radius: 6px;
}

.form-control:focus, .form-select:focus {
  background-color: #ffffff;
  border-color: #007BFF;
  color: #333333;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
}

.form-control::placeholder {
  color: #999999;
}

.btn-submit {
  background-color: #007BFF;
  border: none;
  color: #ffffff;
  width:190px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: #0056b3;
  color: #ffffff;
}

.form-check-input {
  border-color: #ced4da;
}

.form-check-input:checked {
  background-color: #007BFF;
  border-color: #007BFF;
}

.form-check-label {
  color: #444444;
}

hr {
  border-color: #e0e4e8;
}

.footer {
  background-color: #ffffff;
  border-top: 2px solid #007BFF;
  color: #777777;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.required-asterisk::after {
  content: " *";
  color: #dc3545;
  font-weight: 700;
}

.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 #007BFF;
}

/* Quill Editor */
#poc-editor, #steps-editor, #impact-editor {
  min-height: 150px;
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 6px 6px;
}

.ql-toolbar.ql-snow {
  border: 1px solid #ced4da;
  border-radius: 6px 6px 0 0;
  background-color: #f8f9fa;
}

.ql-container.ql-snow {
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 6px 6px;
}
