/* Layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.fancy-heading {
  font-size: 2rem;          /* larger font size */
  font-weight: 700;         /* bold */
  text-align: center;       /* keep it centered */
  color: #2c3e50;           /* deep gray-blue */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* soft shadow */
  margin-bottom: 0.5em;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}
.col-md-6 {
  flex: 0 0 auto;
  width: 50%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Card */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}
.card-body {
  flex: 1 1 auto;
  padding: 1rem;
}
.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 500;
}

/* Form controls */
.form-label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-control,
.form-select,
textarea {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}
.form-text {
  font-size: 0.875em;
  color: #6c757d;
}
.font-underline {
  text-decoration: underline !important;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.25rem;
}
.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}
.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}
.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-secondary:hover {
  background-color: #5c636a;
  border-color: #565e64;
}
.d-grid {
  display: grid !important;
}
.mt-3 {
  margin-top: 1rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.text-center {
  text-align: center !important;
}
.text-success {
  color: #198754 !important;
}
.text-muted {
  color: #6c757d !important;
}
.small {
  font-size: 0.875em;
}