a {
  text-decoration: none;
  color: inherit;
}

.header-portal {
  height: 26px;
  background-color: #000;
  color: #fff;
}

.header-primary {
  position: relative;
  min-height: 120px;
  padding: 1rem;
  box-shadow: 0px 4px 5px 0px rgba(122,122,122,0.75);
  -webkit-box-shadow: 0px 4px 5px 0px rgba(122,122,122,0.75);
  -moz-box-shadow: 0px 4px 5px 0px rgba(122,122,122,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.header-primary-title {
  line-height: 1.2;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.header-subtitle {
  font-size: 0.875rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .header-primary {
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .header-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .header-primary-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .header-subtitle {
    font-size: 0.8rem;
  }

  .user-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 250px;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .user-sidebar.active {
    display: block;
  }

  /* Close button inside mobile sidebar */
  .sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
  }

  /* Add a toggle button for mobile */
  .sidebar-toggle {
    display: block;
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    background: #F28500;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
  }

  main.account-main a.back-link {
    display: none;
  }

  body.edit-account main.account-main a.back-link {
    display: inline-flex;
  }

  main.edit-account-main {
    position: relative;
  }

  main.edit-account-main a.back-link {
    position: sticky;
    top: 64px;
    z-index: 1001;
  }
  
  /* Ensure sidebar is properly positioned on mobile */
  #sidebarContainer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
  }
  
  #sidebarContainer.active {
    left: 0;
  }
  
  /* Overlay for mobile */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  
  .sidebar-overlay.active {
    display: block;
  }
}

.header-primary-title > p {
  margin-bottom: 0.25rem;
}

.primary-footer {
  height: 47.64px;
  border: 1px solid #000;
}

.btn-primary-c {
  --bs-btn-color: #000;
  --bs-btn-bg: #F28500;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #a34f26;
}

.btn-secondary-c {
  --bs-btn-color: #000;
  --bs-btn-bg: #D9D9D9;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #D9D9D9;
}

.btn-tertiary {
  --bs-btn-color: #000;
  --bs-btn-bg: #A2D4FB;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #A2D4FB;
}

.btn-quaternary {
  --bs-btn-color: #000;
  --bs-btn-bg: #91D65A;
  --bs-btn-border-color: #000;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #91D65A;
}

.bg-main {
  width: 100vw;
  min-height: calc(100vh - 146px);
  background-image: url("../images/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.form {
  width: 466px;
}

.bar-title {
  padding: 6px 64px 12px 64px;
  background-color: #F28500;
  color: #fff;
}

.bar-title h1 {
  font-size: 20px;
  font-style: italic;
}

@media screen and (max-width: 768px) {
  .bar-title {
    padding: 6px 16px 12px 16px;
  }
}

.fc .fc-toolbar-title {
  font-size: 1rem;
}

.fc .fc-button {
  padding: 0.25em 0.3em;
}

.fc .fc-toolbar.fc-header-toolbar {
  margin-bottom: .5em;
}

.fc-col-header-cell-cushion {
  font-size: 0.75rem;
}

.ql-editor {
  min-height: 200px;
}

.user-sidebar {
  min-width: 300px;
}

.user-sidebar section {
  margin: 0 8px;
  padding: 8px 20px;
  border-bottom: 1px solid #000;
  background-color: #ECECEC;
}

.user-sidebar .user-sidebar-subsection {
  padding-left: 80px;
  font-size: 14px;
}

.user-sidebar section.active {
  background-color: #A2D4FB;
}

.user-sidebar > section {
  display: flex;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 8px;
  border-bottom: 0;
  text-align: center;
}

.user-sidebar > section img {
  margin-right: 12px;
}

.user-sidebar > section h2 {
  margin-top: 16px;
  font-size: 14px;
}

.user-nav section a {
  display: flex;
  align-items: center;
}

.user-nav section a img {
  margin-right: 12px;
}

.user-nav section a span {
  flex-grow: 1;
}

.page-main {
  max-width: calc(100vw - 300px);
}

@media screen and (max-width: 768px) {
  .page-main {
    max-width: 100vw;
  }
}

.dt-buttons {
  margin-bottom: 16px;
}

.bg-1 { background-color: #C8FF9B; }
.bg-2 { background-color: #C8ACED; }
.bg-3 { background-color: #4457FD; }
.bg-4 { background-color: #F6A4D1; }
.bg-5 { background-color: #DE2121; }
.bg-communication { background-color: #DCBB3A; }
.bg-creativity { background-color: #AED298; }
.bg-adaptability { background-color: #403D3D; }
.bg-decisionmaking { background-color: #8F7615; }
.bg-selfmotivation { background-color: #9EA5E6; }
.bg-teamwork { background-color: #DE21BC; }
.bg-problemsolving { background-color: #497A23; }
.bg-handlingconflicts { background-color: #DE6621; }
.bg-leadership { background-color: #B2ADAB; }
.bg-abilitytoworkunderpressure { background-color: #4D250D; }
.bg-others { background-color: #EC6F6F; }
.bg-yes { background-color: #6F2952; }
.bg-no { background-color: #8A76A3; }

.c-pointer { cursor: pointer; }

.dropzone {
  text-align: center;
  border: 1px solid #808080;
  border-radius: 8px;
  cursor: pointer;
}

.dropzone-attachments {
  min-height: 100px;
}

.text-justify {
  text-align: justify;
}

.footer-logo .text-clip {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  max-height: 6em;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.bg-container {
  padding: 4rem;
}

@media screen and (max-width: 768px) {
  .bg-container {
    padding: 1rem;
  }
}

.overflow-wrap-anywhere {
  text-wrap: wrap;
  overflow-wrap: anywhere;
}

.accordion-button.fs-3.p-0.shadow-none {
  background-color: transparent;
}
