/* Utility class for right-aligning submit buttons in grid form rows */
.form-row-submit {
  justify-self: end !important;
}
/* Split button dropdown styles for platform selection */
.split-btn {
  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;
  text-overflow: ellipsis;
}

@media (max-width: 500px) {
  .split-btn {
    font-size: 0.9em;
    padding: 6px 12px;
  }
}

.split-arrow {
  background: #e3f2fd;
  color: #1a2a4f;
  border: 2px solid #b6c7e6;
  border-left: none;
  border-radius: 0 7px 7px 0;
  width: 38px;
  text-align: center;
  cursor: pointer;
  font-size: 1em;
  transition: background 0.18s, color 0.18s;
}
.split-arrow:focus {
  box-shadow: 0 0 0 2px #1976d2;
}
.split-arrow.open {
  background: #b6c7e6;
}
.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;
  text-overflow: ellipsis;
}
.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;
}




/* Glassy section transitions */
.section-container {
  display: none;
  animation: fadeInTech 0.42s cubic-bezier(0.68,0.32,0.39,0.86);
}
.section-container.active {
  display: block;
}
@keyframes fadeInTech {
  from { opacity: 0; transform: translateY(30px) scale(0.98);}
  to { opacity: 1; transform: translateY(0) scale(1);}
}

/* Side-by-side form card layout for HR sections */
.input-group-row {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}
.input-group-row .form-card {
    flex: 1 1 0;
    margin-bottom: 0;
    min-width: 280px;
}

@media (max-width: 900px) {
    .input-group-row {
        flex-direction: column;
        gap: 18px;
    }
    .input-group-row .form-card {
        min-width: 0;
    }
}
body {
    background-color: #f6f8fa;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
}

/* Headings */
h2 {
    border-bottom: 3px solid #fa923f;
    padding-bottom: 8px;
    color: #173d67;
    letter-spacing: 0.03em;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 32px;
}

.message {
  margin: 24px 0;
  max-width: 350px;
  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;
}

/* Card/section containers */
.form-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(33, 57, 135, 0.1);
    padding: 40px 38px;
    max-width: 600px;
    margin: 36px auto 48px auto;
}

.section-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(33, 57, 135, 0.07);
    padding: 28px 32px;
    margin: 30px auto 50px auto;
}

/* Form rows */
.form-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    column-gap: 15px;
    row-gap: 22px;
    margin-bottom: 22px;

}

/* Ensure submit button row is right-aligned */
.form-row label {
    font-weight: 600;
    color: #243b53;
    text-align: right;
}

.form-row input,
.form-row select,
.form-row textarea {
    font-size: 0.92rem;
    padding: 7px 10px;
    border-radius: 7px;
    border: 2px solid #ccd5db;
    background: #f3faff;
    color: #21314b;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
    min-height: 28px;
    resize: vertical;
}

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

/* Textarea fixed height */
.form-row textarea {
    min-height: 64px;
    resize: vertical;
}

/* Buttons */
.form-row #sub-button {
  background-color: #154A91;
  color: #ffffff;
  padding: 8px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(33,150,243,0.26);
  transition: background-position 0.3s ease, box-shadow 0.3s ease;
  letter-spacing: 0.02em;
  justify-self: end;
  
}



.form-row #sub-button:hover,
.form-row #sub-button:focus {
  background-color: #fbaf42;
  color: #154A91;
  box-shadow: 0 7px 20px rgba(251, 175, 66, 0.7);
  outline: none;
}

/* Lists */
.hr-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hr-list-item {
    background: #f7fafc;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 14px;
    box-shadow: 0 3px 14px rgba(11, 33, 84, 0.04);
    font-size: 1.03rem;
    color: #2e405f;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

hr {
    border: none;
    border-bottom: 3px solid #fa923f;
    margin: 48px 0 40px 0;
}


.custom-date {
  background: #f3faff !important;
  color: #1a2a4f;
  border: 2px solid #fbaf42;
  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%;
}

/* Responsive */
@media (max-width: 750px) {
 

    h2 {
        font-size: 1.75rem;
        margin-bottom: 26px;
    }

    .form-card,
    .section-card {
        padding: 30px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        row-gap: 14px;
        margin-bottom: 18px;
    }

    .form-row label {
        text-align: left;
        white-space: normal;
        font-size: 0.92rem;
    }

    .form-row #sub-button {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        float: none;
        padding: 10px 0;
    }

    .hr-list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 14px;
    }
}

.hr-list ul {
  padding-left: 18px;
  margin-top: 6px;
}

.hr-list strong {
  font-weight: 700;
}

.hr-list li {
  margin-bottom: 4px;
}


/* 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;
  }
}