/* Custom background for flatpickr input */
.custom-datetime{
  background: #f3faff !important;
  color: #1a2a4f;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 1.08em;
  font-weight: 600;
  outline: none;
  box-shadow: 0 2px 8px rgba(251,175,66,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  max-width: 100%;
}

.custom-date{
  background: #f3faff !important;
  color: #1a2a4f;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 1.08em;
  font-weight: 600;
  outline: none;
  box-shadow: 0 2px 8px rgba(251,175,66,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  max-width: 100%;
}


/* Split button dropdown styles for platform selection */
.split-dropdown {
  display: inline-flex;
  position: relative;
  font-size: 1em;
  width: 100%;
}
.split-main, .split-toggle {
  background: #f3faff;
  color: #1a2a4f;
  border: 2px solid #b6c7e6;
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 7px 0 0 7px;
  cursor: pointer;
  outline: none;
  font-size: 1em;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  overflow: hidden;

}
.split-toggle {
  border-radius: 0 7px 7px 0;
  border-left: none;
  width: 38px;
  text-align: center;
  background: #e3f2fd;
}
.split-main:focus, .split-toggle:focus {
  box-shadow: 0 0 0 2px #1976d2;
}
.split-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 47%;
  background: linear-gradient(90deg, #fffbe6 0%, #e3f2fd 100%);
  border: 2px solid #b6c7e6;
  border-radius: 0 0 7px 7px;
  box-shadow: 0 2px 8px rgba(58,123,213,0.08);
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 0;
}
.split-menu li {
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.18s;
  font-size: 1em;
}
.split-menu li:hover {
  background: #062164;
  color: #fafafa;
}
.split-dropdown.open .split-menu {
  display: block;
}
body {
   background-color: #f6f8fa;
  font-family: 'Inter', sans-serif;
  color: #1B1E23;
}

h2 {
  color: #01247d;
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  border-bottom: 3px solid #fa923f;
  padding-bottom: 10px;
}

.message {
  margin: 24px 0;
  max-width: 600px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  color: #155724;
  background-color: #d4edda;
  border: 2px solid #c3e6cb;
  box-sizing: border-box;
}

.subtitle {
  color: #334e68;
  font-size: 1.08rem;
  margin-bottom: 38px;
  margin-top: -18px;
}

.section-card, .form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(35, 55, 135, 0.12);
  padding: 34px 30px 24px 30px;
  margin-bottom: 32px;
}

.section-card h3, .form-card h3 {
  color: #01247d;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 0;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 166px 1fr;
  align-items: center;
  gap: 20px 11px;
  margin-bottom: 26px;
}

.form-row label {
  color: #2e4963;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: right;
}

.form-row input,
.form-row select,
.form-row textarea {
  font-size: 1rem;
  padding: 12px 15px;
  border-radius: 10px;
  border: 2px solid #ccd5db;
  background: #f3faff;
  color: #22293a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
}

.form-row textarea {
  min-height: 56px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #fa923f;
  box-shadow: 0 0 8px #fa923f44;
}

.form-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-left: 0;
}

.form-row #sub-button, .mc-btn {
  display: inline-block;
  background-color: #154A91;
  color: #fff;
  padding: 13px 44px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 7px 25px rgba(253, 126, 20, 0.25);
  transition: background-position 0.3s, box-shadow 0.3s;
  background-size: 200% 100%;
  background-position: left center;
  margin-left: auto;
}

#sub-button:hover,
#sub-button:focus,
.mc-btn:hover,
.mc-btn:focus,
.mc-btn-back:hover,
.mc-btn-back:focus {
  background-color: #fbaf42;
  color: #154A91;
  outline: none;
}

.mc-btn {
  margin-top: 10px;
  margin-bottom: 12px;
}

.mc-btn-back {
  background-color: #154A91;
  color: #fff;
  margin-top: 0;
  font-weight: 600;
  padding: 12px 30px;
}

.mc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mc-list-item {
  background: #f9fbfe;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
  box-shadow: 0 2px 10px rgba(12, 33, 84, 0.07);
}

.mc-image {
  height: 70px;
  width: auto;
  border-radius: 6px;
  margin-top: 5px;
  box-shadow: 0 1px 6px rgba(33,52,72,0.07);
  display: block;
}

.mc-content {
  margin-top: 7px;
  color: #476170;
  font-size: 0.98rem;
  background: #f6f4e6;
  border-radius: 6px;
  padding: 8px 12px;
}

.mc-badge {
  display: inline-block;
  border-radius: 13px;
  font-size: 0.95em;
  font-weight: 600;
  margin-left: 10px;
  padding: 3px 14px;
}

.mc-badge.complete { background: #deffeb; color: #15813d; }
.mc-badge.pending { background: #ffe4e7; color: #c43a35; }

.mc-label {
  font-weight: 600;
  color: #314459;
}

.mc-empty {
  color: #9daebb;
  font-size: 1.09em;
  margin: 15px 0 20px 0;
}

/* Responsive styles */
@media (max-width: 700px) {
  .section-card, .form-card {
    padding: 16px 5vw;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .form-row label {
    text-align: left;
    white-space: normal;
    font-size: 1rem;
  }
  .mc-image {
    height: 40px;
  }
  .form-row #sub-button, .mc-btn, .mc-btn-back {
    width: 100%;
    padding: 14px 0;
    margin-left: 0;
    font-size: 1rem;
    border-radius: 30px;
    box-sizing: border-box;
    text-align: center;
  }
    .custom-datetime{
    max-width:100%;
    }

   h2 {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

}


/* nav-bar */
.hori-selector{
  background-color: #f6f8fa;
}

.hori-selector .right,
.hori-selector .left{
  background-color: #f6f8fa;
}

#navbarSupportedContent>ul>li.active>a{
  color:black;
}

/* NAVBAR responsiveness */
@media (max-width: 768px) {
  .hori-selector {
    width: 100%;
  }
  #navbarSupportedContent > ul > li > a {
    font-size: 1em;
  padding-bottom: 10px;
  margin-top: -3px;
  }
}