﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-size: 14px;
  color: rgba(67, 73, 85);
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  padding-bottom: 150px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:before,
a:after {
  text-decoration: underline;
}

a:before,
a:after,
a:hover:before,
a:hover:after {
  text-decoration: none;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

.description-column {
  cursor: pointer;
}

.kv-value {
  width: 100%;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}

.issue-details-container {
  padding-left: 0.75rem;
  padding-right: 1rem;
  max-width: 100%;
  overflow-x: hidden;
}

.issue-details-content {
  padding-left: 0;
  max-width: 100%;
}

.issue-details-row {
  margin-left: 0;
  margin-right: 0;
}

.issue-details-row .col-form-label {
  padding-right: 0.25rem;
}

.issue-value-cell {
  padding-left: 0;
}

.issue-details-header-row {
  padding-left: 0.75rem;
  margin-bottom: 1.5rem;
}

.meta-inline-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 0 1rem 0;
  width: 100%;
  align-items: start;
  padding-left: 15px;
}

.meta-inline-item {
  min-width: 0;
  display: block;
  flex: 1 1 calc(25% - 0.75rem);
  max-width: calc(25% - 0.75rem);
}

.meta-inline-item .col-form-label {
  width: 100%;
  margin-bottom: 0.15rem;
  padding-right: 0;
}

.meta-inline-item .kv-value {
  display: block;
  width: 100%;
}

.error-format-row {
  display: flex;
  align-items: center;
  padding-top: 18px;
}

.error-format-row > .error-format-label {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 20px;
  display: flex;
  align-items: center;
}

.error-format-row > .issue-value-cell {
  display: flex;
  padding-left: 0;
  padding-right: 0;
}

.error-format-radio-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  row-gap: 12px;
}

.error-format-radio-label {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0;
  padding: 0;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  line-height: 20px;
}

.error-format-radio {
  appearance: auto;
  -webkit-appearance: radio;
  width: 18px;
  height: 18px;
  min-height: 0 !important;
  margin: 0 8px 0 0;
  padding: 0;
  cursor: pointer;
  flex: 0 0 18px;
  accent-color: #1d6460;
}

.error-format-radio-text {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
  color: #434955;
}

@media (max-width: 991.98px) {
  .issue-details-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .issue-details-content {
    padding-left: 0;
  }

  .meta-inline-group {
    gap: 0.5rem 0.75rem;
  }

  .meta-inline-item {
    flex-basis: calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }

  .meta-inline-item .col-form-label {
    width: 100%;
    padding-right: 0;
  }

  .meta-inline-item .kv-value {
    margin-top: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .issue-details-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .issue-details-row .col-form-label,
  .issue-details-row .issue-value-cell,
  .issue-details-row .input-cell-holder {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .issue-details-row .col-form-label {
    margin-bottom: 0.25rem;
  }

  .input-cell-holder {
    width: 100%;
  }

  .error-format-value-cell {
    padding-top: 0;
  }

  .meta-inline-group {
    padding-left: 0;
  }

  .meta-inline-item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .error-format-radio-group {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .error-format-radio-label {
    flex-shrink: 1;
  }
}

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
  width: 100%;
}

/* QR code generator */
#qrCode {
  margin: 15px;
}

.icon-bar {
  background-color: white;
}

.warning-msg {
  color: #d0021b;
}

.error-msg {
  color: #d0021b;
  font-size: 12px;
  visibility: hidden;
}

.hide-me {
  display: none;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none;
  }
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #434955;
  opacity: 0.5;
}

::-moz-placeholder {
  /* Firefox 19+ */
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #434955;
}

:-ms-input-placeholder {
  /* IE 10+ */
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #434955;
}

:-moz-placeholder {
  /* Firefox 18- */
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #434955;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

input {
  background-color: #fff;
  border: 1px solid rgb(162, 160, 175);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #434955;
  min-height: 31px;
  padding: 5px 14px;
}

.input-login {
  width: 267px;
  margin-bottom: 9px;
}

.input-modal {
  width: 100%;
}

.input-modal-holder {
  width: 320px;
  margin: auto;
}

.input-modal-holder-lg {
  width: 505px;
  margin: auto;
}

.input-modal-holder-lg > hr {
  margin-top: 50px;
  color: #979797;
  height: 2px;
}

.modal-label {
  width: 100%;
}

.input-search {
  width: 292px;
  background: white url(/images/icon-search.svg) no-repeat right 10px center;
}

.date-input-wrapper {
  position: relative;
  display: inline-block;
}

.input-date {
  width: 160px;
  padding-right: 52px;
  cursor: pointer;
}

/* Sits left of the calendar icon that .input-date paints at right 10px. */
.date-clear {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: #979797;
  cursor: pointer;
  display: none;
}

.date-clear:hover {
  color: #1d6460;
}

.date-input-wrapper.has-value .date-clear {
  display: inline;
}

.input-date.input-error {
  border: 1px solid #d0021b;
}

.ui-datepicker {
  z-index: 100 !important;
  padding: 8px;
}

.ui-datepicker .ui-datepicker-title {
  margin: 0 2.3em 4px 2.3em;
}

.ui-datepicker th {
  padding: 4px 2px;
}

.ui-datepicker td {
  padding: 1px;
  width: 30px;
  height: 30px;
}

.ui-datepicker table {
  margin: 0;
}

.simple-input {
  margin-top: 12px;
}

.btn {
  font-size: 12px;
}

.custom-btn {
  border-radius: 4px;
  padding: 8px 22px;
  min-width: 134px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary {
  background-color: #1d6460 !important;
  color: white;
  border: 1px #1d6460 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: #1d6460 !important;
  color: white;
}
.btn-secondary {
  background-color: white;
  color: rgb(67, 73, 85);
  border: 1px solid rgb(162, 160, 175);
}

.btn-create {
  background-color: #1d6460 !important;
  border: 1px solid #1d6460 !important;
  color: white;
  border-radius: 4px;
  padding: 8px 45px;
  min-width: 134px;
  font-size: 14px;
  font-weight: 600;
  float: right;
  /* margin: 40px 14px 22px 14px; */
}

.text-center {
  text-align: center;
  padding: 9px;
}

/*Modal styles*/

.vertical-alignment-helper {
  display: table;
  height: 100%;
  width: 100%;
}

.vertical-align-center {
  /* To center vertically */
  display: table-cell;
  vertical-align: middle;
}

.modal-content {
  /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
  width: inherit;
  height: inherit;
  /* To center horizontally */
  margin: 0 auto;
}

.open-modal {
  cursor: pointer;
}

.modal-content-lg {
  width: 615px;
}

.modal-dialog {
  width: 460px;
}

.modal-header {
  padding: 20px;
  text-align: center;
  color: white;
  background-color: #1d6460 !important;
  position: relative;
  border: none;
}

.modal-header h5 {
  font-size: 18px;
  font-weight: 600;
}

.modal-header .close {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 28px;
  right: 28px;
  opacity: 1;
}

.modal-body {
  font-size: 18px;
  font-weight: 300;
  padding: 35px;
  color: rgb(67, 73, 85);
}

.modal-body p {
  text-align: center;
}

.modal-body form {
  padding: 0 30px;
}

.modal-footer {
  display: flex;
  justify-content: center;
  padding: 14px;
  background-color: #f5f6f6;
  border: none;
}

.modal-footer .custom-btn {
  margin: 0 12px;
}

.login-page-content {
  width: 100%;
  min-height: 100vh;
  font-size: 12px;
  line-height: 20px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column-reverse;
}

.page-content {
  background-color: #f9f9f9;
  width: 100%;
  min-height: calc(100vh - 130px - 80px);
  padding: 130px 70px 80px 70px;
  overflow-y: auto;
  box-sizing: border-box;
}

.recipient-notification-column {
  padding-left: 32px;
}

.recipient-notification-column > label {
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .recipient-form-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .recipient-form-page .submit-footer {
    gap: 12px;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .recipient-form-page .submit-footer > button {
    flex: 1 1 0;
    min-width: 0;
    margin-left: 0;
  }

  .recipient-notification-column > label {
    white-space: normal;
  }
}

/*Header*/

.navbar {
  background-color: #053334;
  width: 100%;
  min-height: 54px;
  padding: 7px 14px;
  font-size: 18px;
  color: white;
  border: none;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  align-items: center;
}

.navbar a {
  color: white;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
  align-items: center;
}

.navbar-nav .nav-item {
  white-space: nowrap;
}

.navbar-nav .nav-link {
  display: inline-block;
  font-size: 14px;
  padding: 4px 8px;
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    margin-bottom: 10px;
  }

  .navbar-nav .nav-link {
    padding: 8px 20px;
  }

  .active-menu .nav-link {
    display: inline-block;
    width: auto;
  }
}

@media (min-width: 992px) {
  .navbar-collapse {
    display: flex;
    flex-grow: 1;
    flex-wrap: nowrap;
  }

  .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
}

.active-menu {
  font-weight: 600;
}

.active-menu .nav-link {
  border-bottom: 3px solid #4cb944;
}

.nav-link:hover {
  background-color: #044e8b;
  cursor: pointer;
}

.nav-link:focus {
  background-color: #044e8b;
}

.logo-header {
  max-height: 32px;
  width: auto;
  height: auto;
  margin-right: 24px;
}

.user-menu {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 24px;
}

@media (min-width: 992px) {
  .user-menu {
    margin-left: auto;
  }
}

.user-menu .user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.user-menu .user-menu-toggle:hover,
.user-menu .user-menu-toggle:focus {
  color: white;
  text-decoration: none;
}

.user-menu .user-menu-toggle::after {
  display: inline-block;
  content: "";
  width: 10px;
  height: 6px;
  margin-left: 2px;
  vertical-align: middle;
  border: none;
  background-color: white;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.user-menu .user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #4cb944;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.user-menu .user-name {
  display: inline-block;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .user-menu .user-name {
    max-width: calc(100vw - 150px);
  }
}

.user-menu .dropdown-menu {
  margin-top: 14px;
  min-width: 160px;
  padding: 4px 0;
  background-color: #0b3a3b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.user-menu .dropdown-menu .log-out {
  width: 100%;
  border: 0;
  background: transparent;
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.user-menu .dropdown-menu .log-out:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/**/

label {
  margin-top: 12px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 300;
  width: 100%;
}

.login-btn {
  border: none;
  border-radius: 4px;
  background-color: #1d6460 !important;
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  margin-top: 44px;
  width: 60%;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.login-holder > a:link {
  color: white;
}

.login-holder > a:visited {
  color: white;
}

.login-holder > a:hover {
  color: white;
}

td > a:link {
  color: #3598e8;
  text-decoration: none;
}

td > a:visited {
  color: #3598e8;
  text-decoration: none;
}

td > a:hover {
  color: #3598e8;
  text-decoration: none;
}

.btn-create:link {
  color: white;
  text-decoration: none;
}

.btn-create:visited {
  color: white;
  text-decoration: none;
}

.btn-create:hover {
  color: white;
  text-decoration: none;
}

.login-btn:hover {
  color: white !important;
  text-decoration: none;
}

.login-holder {
  width: 40%;
  height: auto;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.login-holder img {
  margin-bottom: 30px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
}

.login-holder h1 {
  color: black;
  text-align: center;
  margin: 0;
  font-weight: 400;
}

.table-actions-holder {
  width: 100%;
  height: 83px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.table-actions-holder-left {
  width: 100%;
  min-height: 83px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: normal;
}

.table-actions-holder-left .dropdown-holder {
  margin-right: -25px;
}

@media (max-width: 991px) {
  .table-actions-holder-left {
    flex-direction: column;
    align-items: stretch;
  }

  .table-actions-holder-left .dropdown-holder {
    margin-right: 0;
  }

  .table-actions-holder-left .input-search,
  .table-actions-holder-left .input-date,
  .table-actions-holder-left .date-input-wrapper {
    width: 100%;
  }
}

.table-actions-holder-right {
  width: 100%;
  height: 83px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.search-table {
  width: 100%;
  min-height: 200px;
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 13px rgba(0, 0, 0, 0.075);
}

.search-table .search-table-header {
  background-color: rgba(0, 0, 0, 0.17);
  height: 58px;
  overflow: hidden;
}

.search-table .search-table-row {
  height: 50px;
  border-top: 1px solid #e3e3e3;
  overflow: hidden;
}

.search-table .search-table-row:hover {
  background-color: rgba(216, 216, 216, 0.12);
}

.dropdown {
  position: relative;
  display: inline-block;
  font-size: 12px;
}

.dropdown-full {
  width: 100%;
}

.margin-left-35 {
  margin-left: 35px;
}

.dropdown-menu {
  padding: 4px 14px;
  min-width: 100%;
  max-height: 150px;
  font-size: 12px;
  overflow: auto;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  white-space: nowrap;
}

.dropdown-menu a {
  display: block;
  margin: 4px 0;
  font-weight: 600;
  text-decoration: none;
  color: #434955;
}

.dropdown-item:active {
  background-color: white;
}
.dropdown-toggle {
  text-align: left;
  background: white url(/images/arrow-down.svg) no-repeat right 10px center;
  font-weight: 600;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  content: none !important;
}

.dropdown-sm {
  width: 185px;
}

.dropdown-lg {
  width: 240px;
}

.dropdown-xlg {
  width: 310px;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
  padding: 16px 13px 19px 13px;
}

ul,
li {
  list-style-type: none;
  margin: 0;
  cursor: pointer;
}

.option-selected {
  font-weight: 600;
  background-color: none;
}

.userid-column {
  cursor: pointer;
}
.sticky-head {
  overflow-y: auto;
  height: 60vh;
}
.sticky-head thead th {
  position: sticky;
  top: 0;
  font-size: 14px;
  font-weight: 600;
}

.list-table {
  width: 100%;
  background-color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 2px 13px rgba(0, 0, 0, 0.075);
  overflow-x: scroll;
  margin-top: 0px;
}

.list-table > thead {
  background-color: #d4d4d4;
  height: 58px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
  left: 0;
  bottom: 0;
}

.list-table > thead tr th {
  font-weight: 800;
  color: #434955;
}

.list-table > tbody tr {
  height: 50px;
  border-top: 1px solid #e3e3e3;
  color: rgba(67, 73, 85, 0.75);
}

.content-table {
  position: relative;
}

.column-sm {
  padding: 26px 14px 13px 14px;
  max-width: 100px;
  word-wrap: break-word;
}

.column-md {
  padding: 26px 40px 13px 40px;
  max-width: 150px;
  word-wrap: break-word;
}

.column-lg {
  padding: 14px 40px 13px 40px;
  max-width: 300px;
  word-wrap: break-word;
}

.column-80 {
  padding: 26px 40px 13px 40px;
  max-width: 300px;
  width: 85%;
  word-wrap: break-word;
}

.column-50 {
  padding: 26px 40px 13px 40px;
  max-width: 300px;
  width: 50%;
  word-wrap: break-word;
}

.column-30 {
  padding: 26px 40px 13px 40px;
  max-width: 300px;
  width: 35%;
  word-wrap: break-word;
}

.search-table-row span {
  color: rgba(67, 73, 85, 0.75);
  padding: 13px 61px;
}

.isClicable {
  cursor: pointer;
  color: #3598e8;
}

.active {
  color: #7ed321;
}

.locked {
  color: #d0021b;
}

h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  color: #434955;
}

h2 {
  height: 19px;
  font-size: 14px;
  color: #434955;
}

.dropbtn {
  min-width: 188px;
  background: white url(/images/arrow-down.svg) no-repeat right 10px center;
  border: 0.5px solid #434955;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #434955;
  min-height: 30px;
  padding: 5px 14px;
  cursor: pointer;
  text-align: left;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-holder > .dropdown {
  margin-left: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  background-color: #ffffff;
  padding: 16px 13px 19px 13px;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-menu.show {
  display: block !important;
}

/*toastr*/
.toast {
  max-width: 680px;
  margin-bottom: 60px !important;
  height: 75px;
  background-color: white !important;
  color: #434955 !important;
}

#toast-container > div {
  padding: 15px 15px 15px 55px !important;
}

.toast-title {
  margin-bottom: 3px;
}

#toast-container > .toast-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 75px;
  height: auto;
  background-image: url(/images/toastr-success.svg) !important;
  border-left: 10px solid #61a714 !important;
}

#toast-container > .toast-error {
  background-image: url(/images/toastr-error.svg) !important;
  border-left: 10px solid #b72936 !important;
}

.loader {
  display: flex;
  justify-content: center;
}

.loader img {
  width: 200px;
  height: 200px;
  margin: 20px 0;
}

textarea {
  background-color: #fff;
  border: solid 0.5px #434955;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #434955;
  min-height: 60px;
  padding: 5px 14px;
  resize: none;
}

.tags-holder {
  font-size: 12px;
  color: #434955;
}

.tags {
  display: inline-block;
  cursor: pointer;
  color: #000000;
  font-size: 10px;
  border-radius: 2px;
  background-color: #d8d8d8;
  padding: 3px 9px;
  margin: 0 4px 4px 0;
}

/*Radio button*/

/* The container */
.radiobtn-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 12px;
  color: #434955;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  opacity: 1;
}

/* Hide the browser's default radio button */
.radiobtn-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  border: 1px solid #979797;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radiobtn-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radiobtn-container .checkmark:after {
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3598e8;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #434955;
  vertical-align: text-top;
  display: inline-block;
  margin: 6px 5px;
}

.arrow-up {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #434955;
  display: inline-block;
  margin: 2px 5px;
}

.version-number {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.edit-notification-warning {
  margin-top: 35px;
  display: none;
}

.submit-footer {
  width: 100%;
  min-height: 62px;
  padding: 22px 164px 22px 164px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 6px 11px 18px 0 rgba(0, 0, 0, 0.5);
}

.submit-footer > button {
  margin-left: 24px;
}

.open-task-preview {
  width: 524px;
  height: 200px;
}

.closed-task-preview {
  width: 512px;
  height: 136px;
}

@media screen and (max-width: 1420px) {
  .open-task-preview {
    width: 367px;
    height: 140px;
  }

  .closed-task-preview {
    width: 358px;
    height: 95px;
  }
}

@media screen and (max-width: 1255px) {
  .open-task-preview {
    display: none;
  }

  .closed-task-preview {
    display: none;
  }
}

.input-date {
  background: white url(/images/calendar.svg) no-repeat right 10px center;
  cursor: pointer;
}

.input-info {
  margin-top: 10px;
  opacity: 0.57;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.67;
  letter-spacing: normal;
  color: #434955;
}

.input-cell-holder {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 350px;
}

.submit-task-form input,
textarea {
  width: 310px;
  margin-right: 54px;
}

.submit-task-form textarea {
  width: 310px;
  margin-right: 54px;
  border: 1px solid rgb(162, 160, 175);
}

.submit-task-form .dropdown {
  margin-right: 54px;
}

.submit-task-form .dropdown-icon {
  margin-right: 30px;
}

.general-settings {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
}

.open-task-behaviour {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.left-input-holder {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  max-width: 730px;
}

.one-column-holder {
  max-width: 310px;
}

.task-radio-holder {
  width: 100%;
  display: flex;
}

.add-icon {
  color: #3598e8;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.dropdown-task-icon {
  margin-right: 4px;
  height: 15px;
}

.dismiss-day-cell {
  background-color: #fff;
  border: 1px solid rgb(162, 160, 175);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.change-value-button {
  width: 65px;
  height: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #434955;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.value-holder {
  width: 100%;
  height: 30px;
  font-size: 12px;
  font-weight: 600;
  border-left: 1px solid rgb(162, 160, 175);
  border-right: 1px solid rgb(162, 160, 175);
  display: flex;
  justify-content: center;
  align-items: center;
}

.new-icon-holder {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.new-icon-preview {
  width: 40px;
  height: 40px;
  display: flex;
  visibility: hidden;
  align-items: center;
  border: solid 1px #979797;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.image-icon-preview {
  position: absolute;
  width: auto;
  height: 100%;
}

.disabled-field {
  opacity: 0.3 !important;
  pointer-events: none;
}
.first-row-after-filter {
  margin-bottom: 22px;
}

.height100vh {
  min-height: 100vh;
}

/* ====== EMAIL PREFERENCE ACCORDION STYLES ====== */

.preference-container {
  padding: 20px 0;
}

/* Global Header - Appears once at top */
.preference-global-header {
  background-color: #d4d4d4;
  border-bottom: 1px solid #e3e3e3;
  margin-bottom: 10px;
}

.preference-header-row {
  display: flex;
  align-items: center;
  height: 50px;
}

.preference-header-cell {
  display: flex;
  align-items: center;
  padding: 12px 40px;
  font-weight: 800;
  color: #434955;
  font-size: 16px; /* Increased from 15px */
}

.preference-header-component-cell {
  flex: 0 0 60%;
}

.preference-header-notification-cell {
  flex: 0 0 40%;
}

.preference-accordion {
  padding: 10px 0;
}

/* Accordion Group Container */
.accordion-group {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

/* Group Header Container */
.group-header {
  background-color: #d4d4d4;
  border-bottom: 1px solid #e3e3e3;
  user-select: none;
}

/* Group Header Row - Mimics table structure */
.group-header-row {
  display: flex;
  align-items: flex-start;
  height: auto;
  padding: 6px 0; /* Reduced from 8px for compact appearance */
}

/* Group Header Cells - Match table column structure */
.group-header-cell {
  display: flex;
  align-items: center;
  padding: 8px 40px 8px 40px; /* Reduced from 10px */
}

/* Component column - matches table component column (60% width) */
.group-header-component-cell {
  flex: 0 0 60%;
  gap: 12px;
  align-items: flex-start;
}

.app-header-info {
  display: flex;
  flex-direction: column;
  gap: 0px; /* No gap for compact appearance */
}

.app-name {
  font-size: 15px; /* Match existing application standards */
  font-weight: 600; /* Match existing application standards */
  color: #434955;
  line-height: 1.2;
  margin-bottom: 2px;
}

.app-summary {
  font-size: 11px; /* Smaller font for secondary text */
  font-weight: 400;
  color: #888; /* More muted colour */
  line-height: 1.3;
}

.summary-count {
  color: #999; /* Lighter grey for components count */
}

.group-header-component-cell strong {
  font-size: 15px;
  font-weight: 600;
  color: #434955;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Email Notification column - matches table notification column (40% width) */
.group-header-notification-cell {
  flex: 0 0 40%;
  gap: 20px;
  justify-content: flex-start;
}

.group-header-notification-cell .component-count {
  font-size: 14px;
  color: #434955;
  flex-shrink: 0;
  white-space: nowrap;
}

.arrow-down {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #434955;
}

.arrow-up {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #434955;
}

/* Toggle Container */
.toggle-container {
  display: inline-flex;
  align-items: center;
}
.group-detail {
  max-height: 5000px;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
}

.group-detail.collapsed {
  max-height: 0;
  display: none;
}

/* Component Section Header - Simple label inside accordion */
.component-section-header {
  padding: 6px 40px 4px 40px; /* Reduced padding */
  background-color: #fff;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.component-section-label {
  font-size: 13px; /* Reduced from 12px - slightly larger */
  font-weight: 600;
  color: #666; /* Muted colour */
  letter-spacing: 0;
  text-transform: none;
  display: inline-block;
  padding-bottom: 2px;
}

/* Components Table */
.components-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

/* No thead styling - header is now global */
.components-table thead {
  display: none;
}

.components-table th {
  display: none;
}

.components-table tbody tr {
  height: 34px; /* Compact row height */
  border-bottom: 1px solid #e3e3e3;
  color: rgba(67, 73, 85, 0.75);
}

.components-table tbody tr.component-row {
  background-color: #fafafa;
}

.components-table tbody tr:hover {
  background-color: #f0f0f0;
}

.components-table tbody tr.component-row:hover {
  background-color: #f5f5f5;
}

.components-table td {
  padding: 5px 40px; /* Compact padding */
  font-size: 13px; /* Match existing application standards */
  font-weight: 500;
  color: rgba(67, 73, 85, 0.8);
  vertical-align: middle;
}

.components-table tbody tr.component-row td:first-child {
  padding-left: 72px; /* Increased from 60px for better indentation */
}

.components-table td:first-child {
  width: 60%;
}

.components-table td:last-child {
  width: 40%;
}

/* Toggle Container */
.toggle-container {
  display: inline-flex;
  align-items: center;
}

/* Custom Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin: 0;
  overflow: hidden; /* Fix white artefact by containing pseudo-elements */
}

.email-toggle {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: background-color 0.3s ease;
  border-radius: 24px;
  will-change: background-color;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: left 0.3s ease;
  will-change: left;
}

.email-toggle:checked + .toggle-slider {
  background-color: #28a745;
}

.email-toggle:checked + .toggle-slider:before {
  left: 29px;
}

.email-toggle:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.toggle-container.updating .toggle-slider {
  opacity: 0.7;
}

/* Loader */
.loader-container {
  text-align: center;
  padding: 40px 20px;
}

.loader-container img {
  width: 100px;
  height: 100px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .group-header {
    padding: 10px 14px;
    gap: 10px;
  }

  .components-table th,
  .components-table td {
    padding: 10px 14px;
    font-size: 14px;
  }

  .group-header strong {
    font-size: 14px;
  }

  .header-right {
    gap: 10px;
  }

  .component-count {
    font-size: 13px;
  }

  .toggle-switch {
    width: 45px;
    height: 22px;
  }

  .toggle-slider:before {
    height: 16px;
    width: 16px;
  }

  .email-toggle:checked + .toggle-slider:before {
    transform: translateX(23px);
  }
}
