#protocol-dashboard-header {
  padding: 24px;
  color: #2f5496;
  /* Body Extra Large */
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px; /* 150% */
  letter-spacing: 0.045px;
}
#protocol-dashboard-title {
  color: #2f5496;
  /* H2 */
  font-family: Poppins;
  font-size: 30px !important;
  font-style: normal;
  font-weight: 500;
  line-height: 35px; /* 116.667% */
  letter-spacing: 0.075px;
}
#protocol-summary-cards .card {
  border-radius: 8px;
  border: 1px solid #a5a5a5;
  padding: 25px 35px;
  position: relative;
  text-align: left !important;
}
#protocol-summary-cards .card.complete {
  background-color: #4dd984;
}
#protocol-summary-cards .card.in-progress {
  background-color: #ffd966;
}
#protocol-summary-cards .card-title {
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 27px; /* 135% */
}
#protocol-summary-cards .card.complete .card-title {
  color: #004721;
}
#protocol-summary-cards .card.in-progress .card-title {
  color: #7b5001;
}
#protocol-summary-cards .card-value {
  color: #343434;
  font-family: Poppins;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 35px; /* 116.667% */
  letter-spacing: 0.075px;
}
#protocol-summary-cards .card-msg {
  color: #343434;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 157.143% */
}
#protocol-summary-cards .card-action {
  position: absolute;
  bottom: 20px;
  right: 35px;
  display: flex;
  height: 33px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 80px;
  border: 1px solid #6fae88;
  background: rgba(255, 255, 255, 0.6);
}
#protocol-table-filters .form-header-input-group {
  align-items: normal;
}

#protocol-table-container {
  border-radius: var(--bs-border-radius) !important;
  border: 1px solid var(--blue-light) !important;
}
#protocol-table-container .pagination-bar {
  border: none !important;
}

/* ring chart styles start */
:root {
  --ring-size: 46px;
}
.ring-chart {
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  border-radius: 50%;
  margin: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* The inner cutout that turns the solid circle into a ring */
.ring-chart::before {
  content: "";
  position: absolute;
  width: calc(var(--ring-size) - 8px);
  height: calc(var(--ring-size) - 8px);
  background-color: #ffffff;
  border-radius: 50%;
}

/* The text in the center */
.chart-label {
  position: relative;
  z-index: 10;
  font-size: 12px;
  font-weight: 700;
  color: #057aff;
}
.protocol-edit-btn {
  padding-left: 30px;
  padding-right: 30px;
}
#protocol-table-container {
  margin-bottom: 40px;
}

/* btn start new protocol start */
.btn-start-new-protocol {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  gap: 10px;
  border-radius: 60px;
  border: 0.5px solid #373737;
  background: linear-gradient(90deg, #9534e5 -10.16%, #007bff 100%);

  color: #fff;
  text-align: center;
  font-family: Nunito;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px; /* 100% */
  letter-spacing: 0.32px;
}
.btn-start-new-protocol:focus-visible {
  color: #ffffff;
  background: linear-gradient(90deg, #007bff -10.16%, #9534e5 100%);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}
.btn-start-new-protocol:hover {
  background: linear-gradient(90deg, #007bff -10.16%, #9534e5 100%);
  color: #fff;
  text-decoration: none;
}
/* btn start new protocol end */

/* protocol table cell style start */
.protocol-status-badge.status-in-progress {
  background: #ffd966;
}
.protocol-status-badge.status-submitted {
  background-color: #4dd984;
  color: #016630;
}
.protocol-status-badge {
  border-radius: 20px;
  color: #343434;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 21px; /* 150% */
  white-space: nowrap;
  padding: 4px 12px;
}
.protocol-title-link a {
  color: #2f5496;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
}
/* protocol table cell style end */

/* create new protocol dialog styles start */
#create-new-protocol-dialog {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}
#create-new-protocol-dialog textarea {
  border-radius: 10px;
  border: 1px solid #a5a5a5;
}
#create-new-protocol-dialog .modal-dialog {
  max-width: 700px;
  border-radius: 20px;
}
#create-new-protocol-dialog .modal-header {
  color: #252c32;
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 42px;
  border-bottom: none;
  padding: 0;
  margin-bottom: 24px;
}
#create-new-protocol-dialog .modal-content {
  padding: 40px;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}
#create-new-protocol-dialog .modal-body {
  padding: 0;
}
#create-new-protocol-dialog .modal-footer {
  border-top: none;
  padding: 0;
  margin-top: 24px;
}
#create-new-protocol-dialog .form-label {
  font-size: 14px;
  color: #6b7280;
  font-weight: 400;
  line-height: 21px;
  margin-bottom: 8px;
}
#create-new-protocol-dialog .form-label.no-mb {
  margin-bottom: 0;
}
/* create new protocol dialog styles end */

#protocol-general-info-wizard-container {
  position: -webkit-sticky; /* For Safari support */
  position: sticky;
  top: 0;
  z-index: 100; /* Keeps it on top of other content while scrolling */
}
/* general-info start */
#protocol-general-info {
  background-color: #ecf0fd;
  padding: 25px 0;
  color: #2f5496;
}
#protocol-general-info .protocol-title {
  font-family: Poppins;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 25px; /* 113.636% */
  text-transform: capitalize;
  padding: 5px 24px 5px 0;
  border-right: 1px solid #2f5496;
}
#protocol-general-info .info {
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  padding: 0 24px;
}
#protocol-general-info .info strong {
  font-weight: 600;
}
#protocol-general-info .btn-clear {
  display: flex;
  height: 33px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 80px;
  border: 1px solid #a5a5a5;
  background: #fff;
}
/* general-info end */

/* protocol-wizard-nav start */
#protocol-wizard-nav {
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#protocol-wizard-nav .slider-wrapper {
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 40px 48px 20px;
}

#protocol-wizard-nav .scroll-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  /* Note: We remove scroll-behavior: smooth from CSS because 
     JavaScript's scrollIntoView({ behavior: 'smooth' }) handles it natively */
  padding: 10px 0;
  width: 100%;
  scrollbar-width: thin;
}

#protocol-wizard-nav .scroll-item {
  color: #2f5496;
  font-family: Poppins;
  font-size: 18px;
  font-style: normal;
  line-height: 20px;
  border: none;
  text-align: left;
  background: none;
  padding: 16px;
}
#protocol-wizard-nav .scroll-item.active {
  background-color: #e9ecef;
  border-radius: 8px;
}
#protocol-wizard-nav .scroll-item:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}
#protocol-wizard-nav .scroll-item:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 5px 0rem rgba(13, 110, 253, 0.75);
}
#protocol-wizard-nav .scroll-item .label {
  font-weight: 600;
}
#protocol-wizard-nav .scroll-item.active .label {
  font-weight: 800;
}
#protocol-wizard-nav .scroll-item.active .section-number {
  font-weight: 600;
}
#protocol-wizard-nav .scroll-item .status {
  background-color: #dadbdd;
  width: 255px;
  height: 8px;
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 8px;
}
#protocol-wizard-nav .scroll-item .status-complete .status-bar {
  height: 100%;
  background-color: #00c950;
  border-radius: 4px;
}
#protocol-wizard-nav .scroll-item .status-in-progress .status-bar {
  height: 100%;
  background-color: #ffd966;
  border-radius: 4px;
}
#protocol-wizard-nav .scroll-item .section-number {
  font-weight: 300;
}

/* Navigation Buttons */
#protocol-wizard-nav .protocol-wizard-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-30px);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  background-color: #ffffff;
}
#protocol-wizard-nav .protocol-wizard-nav-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#protocol-wizard-nav-prev {
  left: -10px;
}
#protocol-wizard-nav-next {
  right: -10px;
}
/* protocol-wizard-nav end */

/* protocol-form-navigation start */
#protocol-form-navigation .btn {
  height: 44px;
}
#protocol-form-navigation .btn-icon {
  filter: invert(100%);
}
/* protocol-form-navigation end */

/* protocol authoring team dialog styles start */
#protocol-authoring-team-dialog {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  max-height: 100vh;
}
#protocol-authoring-team-dialog .modal-dialog {
  max-width: min(1180px, calc(100vw - 32px));
}
#protocol-authoring-team-dialog .modal-content {
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.25);
}
#protocol-authoring-team-dialog .modal-header {
  align-items: flex-start;
  border-bottom: none;
  color: #252c32;
  padding: 0;
  margin-bottom: 22px;
}
#protocol-authoring-team-dialog .modal-title {
  color: #2f5496;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}
#protocol-authoring-team-dialog .modal-body {
  padding: 0;
}
#protocol-authoring-team-dialog .modal-footer {
  border-top: none;
  padding: 0;
  margin-top: 24px;
}
.protocol-authoring-team-subtitle {
  color: #4b5563;
  font-size: 15px;
  line-height: 22px;
  margin-top: 4px;
}
.protocol-authoring-team-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 16px 0 0;
}
.protocol-authoring-team-table-wrap {
  background: #ffffff;
  overflow-x: auto;
}
.protocol-authoring-team-table {
  border-color: #dee2e6;
  min-width: 1040px;
  table-layout: fixed;
  width: 100%;
}
.protocol-authoring-team-table th {
  background: #ffffff;
  color: #2f5496;
  font-family: Inter;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  padding: 12px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.protocol-authoring-team-table th:nth-child(1) {
  width: 25%;
}
.protocol-authoring-team-table th:nth-child(2) {
  width: 23%;
}
.protocol-authoring-team-table th:nth-child(3) {
  width: 17%;
}
.protocol-authoring-team-table th:nth-child(4) {
  width: 18%;
}
.protocol-authoring-team-table th:nth-child(5) {
  width: 11%;
}
.protocol-authoring-team-table th:nth-child(6) {
  width: 6%;
}
.protocol-authoring-team-table td {
  color: #343434;
  font-family: Inter;
  font-size: 14px;
  line-height: 22px;
  padding: 0;
  vertical-align: top;
}
.protocol-authoring-team-table .form-control,
.protocol-authoring-team-table .form-select {
  background-color: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  color: #343434;
  font-size: 14px;
  height: 44px;
  margin: 0;
  min-height: 44px;
  padding: 0 12px;
}
.protocol-authoring-team-table .form-control::placeholder {
  color: #8a94a6;
}
.protocol-authoring-team-table .form-select {
  cursor: pointer;
  padding-right: 34px;
}
.protocol-authoring-team-name-cell {
  min-width: 210px;
  position: relative;
}
.protocol-authoring-team-suggestions {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  left: 0;
  max-height: 220px;
  overflow-y: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
}
.protocol-authoring-team-suggestions button {
  background: #ffffff;
  border: none;
  color: #252c32;
  display: block;
  padding: 9px 12px;
  text-align: left;
  width: 100%;
}
.protocol-authoring-team-suggestions button:hover,
.protocol-authoring-team-suggestions button:focus {
  background: #ecf0fd;
  outline: none;
}
.protocol-authoring-team-suggestions span,
.protocol-authoring-team-suggestions small {
  display: block;
}
.protocol-authoring-team-suggestions small {
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}
.protocol-authoring-team-updated {
  color: #4b5563;
  display: inline-block;
  font-size: 14px;
  min-width: 90px;
  padding: 11px 12px;
}
.protocol-authoring-team-remove {
  align-items: center;
  background: transparent;
  border: 0;
  color: #b42318;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin: 0;
  padding: 0 12px;
  width: 100%;
}
.protocol-authoring-team-remove:hover,
.protocol-authoring-team-remove:focus {
  color: #8f1d14;
}
.protocol-authoring-team-remove:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(180, 35, 24, 0.35);
  outline: none;
}
.protocol-authoring-team-remove:disabled {
  color: #9ca3af;
  opacity: 1;
}
.protocol-authoring-team-empty {
  color: #6b7280;
  font-size: 14px;
  padding: 28px 12px !important;
  text-align: center;
}
.protocol-authoring-team-footnote {
  color: #4b5563;
  font-size: 13px;
  line-height: 20px;
  margin: 14px 0 0;
}
@media (max-width: 768px) {
  #protocol-authoring-team-dialog .modal-content {
    padding: 20px;
  }
  .protocol-authoring-team-actions {
    align-items: flex-start;
  }
  .protocol-authoring-team-actions .btn {
    width: auto;
  }
}
/* protocol authoring team dialog styles end */
#protocol-authoring-team-dialog .protocol-authoring-team-table .form-control:focus,
#protocol-authoring-team-dialog .protocol-authoring-team-table .form-select:focus {
  background: #ffffff;
  border: 0;
  box-shadow: inset 0 0 0 2px rgba(47, 84, 150, 0.35);
}
#protocol-authoring-team-dialog .protocol-authoring-team-table .form-control.is-invalid,
#protocol-authoring-team-dialog .protocol-authoring-team-table .form-select.is-invalid {
  box-shadow: inset 0 0 0 2px #dc3545;
}
#protocol-authoring-team-dialog .protocol-authoring-team-table .invalid-feedback {
  margin: 0;
  padding: 0 10px 8px;
}
#protocol-authoring-team-dialog .protocol-authoring-team-table .protocol-authoring-team-name-cell {
  min-width: 210px;
}
#protocol-authoring-team-dialog .protocol-authoring-team-table input,
#protocol-authoring-team-dialog .protocol-authoring-team-table select {
  width: 100%;
}
.protocol-authoring-team-actions .btn-action {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #2f5496;
  color: #2f5496;
}
.protocol-authoring-team-actions .btn-action:hover,
.protocol-authoring-team-actions .btn-action:focus {
  background: #ecf0fd;
  color: #2f5496;
}

/* protocol AI panel styles start */
#protocol-ai-panel-header {
  background: linear-gradient(90deg, #9534e5 -10.16%, #007bff 100%);
  color: #ffffff;
  padding: 12px 16px;
  font-family: Poppins;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 27px;
}
#protocol-ai-panel-header .btn-x {
  color: #ffffff;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
}
.protocol-ai-panel-container {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}
.protocol-ai-content-title {
  color: var(--blue-5);
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}
.protocol-ai-content {
  padding: 16px;
  border: 1px solid var(--blue-1);
  border-radius: 8px;
}
.protocol-ai-content p {
  margin-bottom: 8px;
}
.protocol-ai-content-section-title {
  color: var(--blue-5);
  font-weight: 700;
  font-size: 20px;
}
.protocol-ai-content-sub-section-title {
  color: var(--blue-5);
  font-weight: 700;
  font-size: 16px;
  margin-top: 8px;
}
/* protocol AI panel styles end */
