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: 0;
}

.ms-page-bg{
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
    radial-gradient(900px 450px at 90% 20%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 55%),
    #fff7cc; /* light yellow */
}

.ms-card{
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 22px;
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.18),
    0 8px 20px rgba(15, 23, 42, 0.10);
  max-width: 720px;
}

.ms-h3{
  color: #800000; /* maroon */
  letter-spacing: 0.2px;
}

.ms-h2{
  color: #0b57d0; /* blue */
  letter-spacing: 0.2px;
}

.ms-subtitle{
  font-weight: 600;
}

.ms-shadow-btn{
  box-shadow:
    0 14px 25px rgba(15, 23, 42, 0.20),
    0 6px 12px rgba(15, 23, 42, 0.12);
  border-radius: 14px;
}

.ms-btn-primary{
  background: linear-gradient(135deg, #0b57d0, #2f7df6);
  border: 0;
}

.ms-btn-primary:hover{
  filter: brightness(0.98);
}

.ms-btn-close{
  border-radius: 14px;
}

.ms-control{
  border-radius: 14px !important;
}

.ms-ig{
  border-radius: 14px 0 0 14px !important;
  background: rgba(11, 87, 208, 0.06);
  border-color: rgba(0,0,0,0.12);
}

.ms-country{
  font-weight: 800;
  color: rgba(0,0,0,0.65);
}

.table{
  border-radius: 14px;
  overflow: hidden;
}

.ms-msg-success{
  background: rgba(16, 185, 129, 0.10) !important;
  border: 1px solid rgba(16, 185, 129, 0.30) !important;
  color: #0f7b2d !important; /* strong green text */
}

.ms-msg-fail{
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.28) !important;
  color: #b42318 !important; /* strong red text */
}

.ms-status-success{
  color: #0f7b2d !important;
}

.ms-status-fail{
  color: #b42318 !important;
}

.ms-k{
  width: 45%;
  font-weight: 700;
  background: rgba(11, 87, 208, 0.04);
}

.ms-v{
  font-weight: 600;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}