html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background-color: #fff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #1A2C42;
}

/* Navbar */
.navbar-vics {
  background-color: #1A2C42 !important;
}

.navbar-vics .navbar-brand img {
  height: 36px;
}

.navbar-vics .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-vics .nav-link:hover {
  color: #fff !important;
}

.navbar-vics .nav-link.active {
  color: #FF9F1A !important;
}

.navbar-vics .nav-username {
  color: #FF9F1A !important;
}

.navbar-vics .nav-link-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.navbar-vics .nav-link-muted:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

.navbar-vics .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-vics .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Tables */
.table thead th {
  background-color: #1A2C42;
  color: #FF9F1A;
  font-weight: 500;
  border-bottom: none;
}

.table > tbody > tr:nth-child(odd) > td,
.table > tbody > tr:nth-child(odd) > th {
  background-color: #fff;
}

.table > tbody > tr:nth-child(even) > td,
.table > tbody > tr:nth-child(even) > th {
  background-color: #FFFBF4;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
  border-bottom: 0.5px solid #eee;
}

/* Buttons */
.btn-primary {
  background-color: #FF9F1A;
  color: #1A2C42;
  font-weight: 500;
  border: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e8900f;
  color: #1A2C42;
}

.btn-primary:active {
  background-color: #d4830e !important;
  color: #1A2C42 !important;
}

.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 #FF9F1A;
}

/* Footer */
.footer-vics {
  background-color: #1A2C42;
  color: rgba(255, 255, 255, 0.6);
}

/* Login page */
.login-body {
  background-color: #1A2C42;
  min-height: 100vh;
}

.login-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.login-btn {
  background-color: #FF9F1A;
  color: #1A2C42;
  font-weight: 500;
  border: none;
}

.login-btn:hover {
  background-color: #e8900f;
  color: #1A2C42;
}

/* Admin tabs */
.nav-tabs .nav-link.active {
  color: #1A2C42;
  font-weight: 500;
}

.nav-tabs .nav-link {
  color: #1A2C42;
}

/* Standing Order mobile cards */
.so-card {
  border: 0.5px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}

.so-card-header {
  background-color: #1A2C42;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.so-card-code {
  color: #FF9F1A;
  font-weight: 600;
  font-size: 14px;
}

.so-card-name {
  color: #fff;
  font-size: 13px;
  text-align: right;
}

.so-card-body {
  padding: 8px 6px 10px;
}

.so-card-odd .so-card-body {
  background-color: #fff;
}

.so-card-even .so-card-body {
  background-color: #FFFBF4;
}

.so-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.so-day {
  text-align: center;
}

.so-day-label {
  display: block;
  font-size: 10px;
  color: #999;
  margin-bottom: 2px;
}

.so-day-input {
  width: 100%;
  min-height: 34px;
  padding: 4px 2px;
  font-size: 14px;
}

.so-day-input:focus {
  border-color: #FF9F1A;
  box-shadow: 0 0 0 0.15rem rgba(255, 159, 26, 0.25);
}
