@charset "UTF-8";
#manualPhoneInput {
  background: #ebf4ff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.chip-editor {
  font-family: inherit;
  font-size: 14px;
  min-height: 100px;
  border: 0;
  border-radius: 4px;
  padding: 10px;
  background: #ebf4ff;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-y: auto;
  line-height: 1.4;
  transition: border-color 0.2s;
  cursor: text;
}
.chip-editor:focus {
  outline: none;
  border-color: transparent;
}
.chip-editor:empty::before {
  content: attr(data-placeholder);
  color: #999;
  pointer-events: none;
}

.var-chip {
  display: inline-flex;
  align-items: center;
  background: #e8f0fe;
  color: #1a73e8;
  border: 1px solid #c5d9f7;
  border-radius: 4px;
  padding: 1px 8px;
  margin: 0 2px 3px 2px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  cursor: default;
  user-select: all;
  -webkit-user-select: all;
  -moz-user-select: all;
  -ms-user-select: all;
  vertical-align: middle;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.var-chip:hover {
  background: #d2e3fc;
  border-color: #a8c7f5;
}
.var-chip.chip--insurance {
  background: #fff3e0;
  color: #e65100;
  border-color: #ffe0b2;
}
.var-chip.chip--insurance:hover {
  background: #ffe0b2;
  border-color: #ffcc80;
}
.var-chip.var-chip--clickable {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.var-chip.var-chip--clickable:hover {
  background: #2185d0;
  color: #fff;
  border-color: #2185d0;
}
.var-chip.var-chip--clickable.chip--insurance:hover {
  background: #e65100;
  color: #fff;
  border-color: #e65100;
}

*:focus-visible {
  outline: none !important;
}

.visible-xs,
.visible-sm,
.visible-md,
.visible-lg {
  display: none !important;
}

.visible-xs-block,
.visible-xs-inline,
.visible-xs-inline-block,
.visible-sm-block,
.visible-sm-inline,
.visible-sm-inline-block,
.visible-md-block,
.visible-md-inline,
.visible-md-inline-block,
.visible-lg-block,
.visible-lg-inline,
.visible-lg-inline-block {
  display: none !important;
}

#page {
  padding-top: 130px !important;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
  table.visible-xs {
    display: table !important;
  }
  tr.visible-xs {
    display: table-row !important;
  }
  th.visible-xs,
  td.visible-xs {
    display: table-cell !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-block {
    display: block !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline {
    display: inline !important;
  }
}
@media (max-width: 767px) {
  .visible-xs-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .visible-sm {
    display: block !important;
  }
  table.visible-sm {
    display: table !important;
  }
  tr.visible-sm {
    display: table-row !important;
  }
  th.visible-sm,
  td.visible-sm {
    display: table-cell !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .visible-sm-block {
    display: block !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .visible-sm-inline {
    display: inline !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .visible-sm-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .visible-md {
    display: block !important;
  }
  table.visible-md {
    display: table !important;
  }
  tr.visible-md {
    display: table-row !important;
  }
  th.visible-md,
  td.visible-md {
    display: table-cell !important;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .visible-md-block {
    display: block !important;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .visible-md-inline {
    display: inline !important;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .visible-md-inline-block {
    display: inline-block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg {
    display: block !important;
  }
  table.visible-lg {
    display: table !important;
  }
  tr.visible-lg {
    display: table-row !important;
  }
  th.visible-lg,
  td.visible-lg {
    display: table-cell !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-block {
    display: block !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline {
    display: inline !important;
  }
}
@media (min-width: 1200px) {
  .visible-lg-inline-block {
    display: inline-block !important;
  }
}
@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hidden-sm {
    display: none !important;
  }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .hidden-md {
    display: none !important;
  }
}
@media (min-width: 1200px) {
  .hidden-lg {
    display: none !important;
  }
}
.padding--0 {
  padding: 0 !important;
}
.padding__bot--20 {
  padding-bottom: 20px;
}

.margin--0 {
  margin: 0 !important;
}
.margin__top--0 {
  margin-top: 0 !important;
}
.margin__top--5 {
  margin-top: 5px !important;
}
.margin__top--8 {
  margin-top: 8px !important;
}
.margin__top--10 {
  margin-top: 10px !important;
}
.margin__top--13 {
  margin-top: 13px !important;
}
.margin__top--15 {
  margin-top: 15px !important;
}
.margin__top--20 {
  margin-top: 20px !important;
}
.margin__top--25 {
  margin-top: 25px !important;
}
.margin__top--30 {
  margin-top: 30px !important;
}
.margin__top--40 {
  margin-top: 40px !important;
}
.margin__top--50 {
  margin-top: 50px !important;
}
.margin__top--70 {
  margin-top: 70px !important;
}
.margin__top--auto {
  margin-top: auto !important;
}
.margin__bottom--0 {
  margin-bottom: 0 !important;
}
.margin__bottom--5 {
  margin-bottom: 5px !important;
}
.margin__bottom--8 {
  margin-bottom: 8px !important;
}
.margin__bottom--10 {
  margin-bottom: 10px !important;
}
.margin__bottom--15 {
  margin-bottom: 15px !important;
}
.margin__bottom--20 {
  margin-bottom: 20px !important;
}
.margin__bottom--25 {
  margin-bottom: 25px !important;
}
.margin__bottom--30 {
  margin-bottom: 30px !important;
}
.margin__bottom--35 {
  margin-bottom: 35px !important;
}
.margin__left--5 {
  margin-left: 5px !important;
}
.margin__left--10 {
  margin-left: 10px !important;
}
.margin__left--15 {
  margin-left: 15px !important;
}
.margin__left--20 {
  margin-left: 20px !important;
}
.margin__left--25 {
  margin-left: 25px !important;
}
.margin__left--40 {
  margin-left: 40px !important;
}
.margin__left--30 {
  margin-left: 30px !important;
}
.margin__left--50 {
  margin-left: 50px !important;
}
.margin__left--auto {
  margin-left: auto !important;
}
.margin__right--5 {
  margin-right: 5px !important;
}
.margin__right--10 {
  margin-right: 10px !important;
}
.margin__right--15 {
  margin-right: 15px !important;
}
.margin__right--20 {
  margin-right: 20px !important;
}
.margin__right--25 {
  margin-right: 25px !important;
}
.margin__right--30 {
  margin-right: 30px !important;
}
.margin__right--auto {
  margin-right: auto !important;
}
.margin--0 {
  margin: 0 !important;
}

.flex {
  display: flex !important;
  align-items: center;
}
.flex__row {
  flex-direction: row;
}
.flex__col {
  flex-direction: column;
}
.flex__rev {
  flex-direction: row-reverse;
}
.flex__align--start {
  align-items: flex-start;
}
.flex__align--end {
  align-items: flex-end;
}
.flex__align--stretch {
  align-items: stretch;
}
.flex__space--between {
  justify-content: space-between;
}
.flex__justify--space-between {
  justify-content: space-between;
}
.flex__justify--center {
  justify-content: center;
}
.flex__justify--start {
  justify-content: flex-start;
}
.flex__justify--end {
  justify-content: flex-end;
}
.flex__justify--ghost .ui.button,
.flex__justify--ghost .ui.cancel.button {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #1a1a1a !important;
  padding-left: 0;
  padding-right: 0;
}
.flex__wrap {
  flex-wrap: wrap;
}

.text--blue {
  color: #003a85 !important;
}
.text--red {
  color: #d9000d !important;
}
.text--gray {
  color: #707070 !important;
}
.text--10 {
  font-size: 10px !important;
  line-height: 12px !important;
}
.text--12 {
  font-size: 12px;
  line-height: 14px;
}
.text--13 {
  font-size: 13px;
  line-height: 14px;
}
.text--14 {
  font-size: 14px;
  line-height: 17px;
}
.text--15 {
  font-size: 15px;
  line-height: 18px;
}
.text--16 {
  font-size: 16px !important;
  line-height: 19px !important;
}
.text--17, .insurance-modal .notification-section {
  font-size: 17px;
  line-height: 21px;
}
.text--18 {
  font-size: 18px;
  line-height: 21px;
}
.text--19 {
  font-size: 19px;
  line-height: 22px;
}
.text--20 {
  font-size: 20px !important;
  line-height: 22px !important;
}
.text--24 {
  font-size: 24px;
  line-height: 29px;
}
.text--27 {
  font-size: 27px;
  line-height: 33px;
}
.text__align--center {
  text-align: center;
}
.text__align--left {
  text-align: left;
}
.text__align--right {
  text-align: right;
}

.font-weight--400 {
  font-weight: 400;
}
.font-weight--500 {
  font-weight: 500;
}
.font-weight--600 {
  font-weight: 600;
}
.font-weight--700 {
  font-weight: 700;
}
.font-weight--800 {
  font-weight: 800;
}

.font-weight--700 {
  font-weight: 700;
}

.gap--5 {
  gap: 5px;
}
.gap--8 {
  gap: 8px;
}
.gap--10 {
  gap: 10px;
}
.gap--15 {
  gap: 15px;
}
.gap--20 {
  gap: 20px;
}
.gap--25 {
  gap: 25px;
}
.gap--30 {
  gap: 30px;
}
.gap--35 {
  gap: 35px;
}
.gap--50 {
  gap: 50px;
}

.ui.table > tbody > tr > td {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.ui.table:not(.insurance-modal__table--history):not(.insurance-modal__table--annex):not(.insurance-modal__table--insured) > thead > tr > th {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.epic_tab--row {
  transition: background-color 0.3s ease;
}
.epic_tab--row:hover {
  background-color: #ebecec;
}
.epic_tab.ui > thead > tr > th {
  vertical-align: top;
}
.epic_tab.ui > thead > tr > th.vert_mid {
  vertical-align: middle;
}
.epic_tab.ui > thead > tr > th.align_mid {
  text-align: center;
}
.epic_tab.ui > thead > tr > th.cb-col, .epic_tab.ui > tbody > tr > td.cb-col {
  width: 1%;
  max-width: 40px;
  min-width: 33px;
  white-space: nowrap;
  text-align: center;
}
.epic_tab.ui > thead > tr > th.cb-col input[type=checkbox], .epic_tab.ui > tbody > tr > td.cb-col input[type=checkbox] {
  margin: 0;
}
.epic_tab.ui > thead > tr > th.lp-col, .epic_tab.ui > tbody > tr > td.lp-col {
  width: 1%;
  max-width: 60px;
  min-width: 40px;
  white-space: nowrap;
}
.epic_tab .min_245 {
  min-width: 245px;
}
.epic_tab .min_210 {
  min-width: 210px;
}
.epic_tab .min_180 {
  min-width: 180px;
}
.epic_tab .min_150 {
  min-width: 150px;
}
.epic_tab .min_130 {
  min-width: 130px;
}
.epic_tab .min_120 {
  min-width: 120px;
}
.epic_tab .max_80 {
  max-width: 80px;
}
.epic_tab .max_90 {
  max-width: 90px;
}
.epic_tab .max_100 {
  max-width: 100px;
}
.epic_tab .max_130 {
  max-width: 130px;
}
.epic_tab .max_150 {
  max-width: 150px;
}
.epic_tab .max_180 {
  max-width: 180px;
}
.epic_tab .max_200 {
  max-width: 200px;
}

.w-100 {
  width: 100% !important;
}

.w-50 {
  width: 50% !important;
}

.flex-grow {
  flex-grow: 1;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: break-word;
}

.client-panel {
  display: flex;
  flex-direction: column;
}
.client-panel__section {
  overflow-x: auto;
}
.client-panel .pagination-box {
  display: flex;
  flex-direction: row-reverse;
  padding-top: 5px;
}
.client-panel a:hover svg * path {
  fill: #437fcd !important;
}
.client-panel__title {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #003a85;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  width: calc(100% - 20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.client-panel__header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.client-panel__header-action-form {
  margin: 0;
  display: inline-flex;
}
.client-panel__header-action-icon {
  display: inline-flex;
  flex-shrink: 0;
}
.client-panel__header-action-icon svg {
  width: 20px;
  height: 20px;
}
.client-panel__merge-client {
  border: 0;
  background-color: transparent;
  font-size: 14px;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  color: inherit;
}
.client-panel__merge-client:hover {
  color: #437fcd;
}
.client-panel__card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.client-panel__left {
  min-width: 450px;
  max-width: 620px;
  min-height: 100px;
}
.client-panel__left--line {
  height: 1px;
  width: calc(100% - 40px);
  margin-left: 20px;
  background-color: #707070;
}
.client-panel__comment-section {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 0 20px;
  flex-direction: row;
  gap: 20px;
}
.client-panel__comment-section--line {
  width: 3px;
  min-width: 3px;
  height: auto;
  background-color: #003a85;
}
.client-panel__comment-section p {
  font-size: 16px;
  line-height: 22px;
  font-weight: bold;
  flex-grow: 1;
  max-width: 500px;
}
.client-panel__contact-section {
  border: solid 1px #003a85;
  border-radius: 10px;
  background-color: #ffffff;
  padding: 20px;
  overflow-x: auto;
}
.client-panel__contact-section label {
  min-width: 105px;
  color: #003a85;
  font-weight: 700;
  margin-right: 10px;
}
.client-panel__contact-section a {
  color: black;
  font-weight: 500;
}
.client-panel__contact-section svg {
  max-width: 15px;
  height: auto;
}
.client-panel__contact-grid {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, auto);
  gap: 30px;
  margin-top: 20px;
  align-items: start;
}
.client-panel__contact-grid-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-content: start;
  min-width: 0;
}
.client-panel__contact-grid-column--secondary {
  gap: 10px;
}
.client-panel__contact {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  min-width: 0;
}
.client-panel__contact > a,
.client-panel__contact > span:not([data-tooltip]) {
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.client-panel__contact--with-badge {
  grid-template-columns: 105px minmax(0, 1fr) auto;
}
.client-panel__contact--address {
  grid-template-columns: auto minmax(0, 1fr);
}
.client-panel__contact-label--narrow {
  min-width: 55px;
}
.client-panel__contact-label--auto {
  min-width: auto !important;
}
.client-panel__contact-grid-column--secondary .client-panel__contact {
  grid-template-columns: 55px minmax(0, 1fr);
}
.client-panel__contact-grid-column--secondary .client-panel__contact.client-panel__contact--address {
  grid-template-columns: auto minmax(0, 1fr);
}

#general-attachments .ui.segment,
#insurance-attachments .ui.segment {
  overflow-x: auto;
}

.client-panel__authorized-person {
  border-radius: 10px !important;
}
.client-panel__authorized-person:first-of-type {
  margin-top: 20px;
}
.client-panel__authorized-person:not(:first-of-type) {
  margin-top: 15px;
  padding-top: 15px;
  border-top: solid 1px rgba(0, 0, 0, 0.1019607843);
}
.client-panel__authorized-person--name {
  color: #003a85;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0px;
}
.client-panel__authorized-person--contact {
  gap: 10px;
}
.client-panel__authorized-person--contact label {
  width: 80px;
  font-weight: 700;
}
.client-panel__authorized-person--contact a {
  color: black;
}
.client-panel__status-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.client-panel .notification-section {
  margin-top: 20px;
  border-radius: 10px;
  background-color: #ffffff;
  padding: 20px;
}
.client-panel__right {
  min-height: 100px;
  width: calc(100% - 450px);
}
.client-panel__right .segment {
  min-width: 1050px;
}
.client-panel .filter-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.client-panel .filter-section .field {
  margin-bottom: 0;
}
.client-panel .filter-section__date-select {
  margin-top: 5px !important;
  min-width: 238px;
  margin-bottom: 0 !important;
}
.client-panel .filter-section__date-select .field {
  padding-left: 3px !important;
  padding-right: 3px !important;
}
.client-panel .filter-section__date-select input {
  padding-left: 30px !important;
  padding-right: 3px !important;
}
.client-panel .filter-section .filter-btn {
  font-size: 10px;
  line-height: 12px;
  padding: 6px 12px;
  height: 25px;
  margin-top: 20px;
}
.client-panel .filter-section .clear-filter-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #ac0000;
  font-size: 10px;
  line-height: 12px;
  margin-left: -5px;
  cursor: pointer;
}
.client-panel .filter-section .clear-filter-btn:hover label,
.client-panel .filter-section .clear-filter-btn:hover i {
  color: #da3838;
}
.client-panel .filter-section .clear-filter-btn label {
  cursor: pointer;
}
.client-panel .filter-section .clear-filter-btn i {
  width: 12px;
  height: 12px;
}
.client-panel__generate-url-to-app {
  border: 0;
  background-color: transparent;
  font-size: 14px;
  gap: 8px;
  cursor: pointer;
}
.client-panel__generate-url-to-app:hover {
  color: #fbbd08;
}
.client-panel__accept-user {
  border: 0;
  background-color: transparent;
  font-size: 14px;
  gap: 8px;
  cursor: pointer;
}
.client-panel__accept-user:hover {
  color: #21ba45;
}

.line-with-text {
  display: flex;
  align-items: center;
  width: 100%;
}

.line {
  flex: 1;
  height: 1px;
  background: #707070;
}

.line-with-text span {
  padding: 0 15px;
  white-space: nowrap;
}

.toggle-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s linear;
  padding-top: 0;
  padding-bottom: 0;
}

.toggle-wrapper.open {
  max-height: 500px;
  padding-top: 11px;
  padding-bottom: 11px;
}

.filter-toggle {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  margin-top: 15px;
}

.filter-toggle.open {
  max-height: 300px;
  overflow: visible;
}

.filter-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.filter-section .field {
  margin-bottom: 0;
}
.filter-section .filter-btn {
  font-size: 10px;
  line-height: 12px;
  padding: 6px 12px;
  height: 25px;
  margin-top: 20px;
}
.filter-section .clear-filter-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #ac0000;
  font-size: 10px;
  line-height: 12px;
  margin-left: -5px;
  cursor: pointer;
}
.filter-section .clear-filter-btn:hover label,
.filter-section .clear-filter-btn:hover i {
  color: #da3838;
}
.filter-section .clear-filter-btn label {
  cursor: pointer;
}
.filter-section .clear-filter-btn svg {
  width: 12px;
  height: 12px;
}

.filter-toggle-btn.open svg g {
  fill: #003a85;
}
.filter-toggle-btn.open svg path {
  stroke: #ffffff;
}

.light-button {
  background-color: transparent;
  border: 0;
  color: #003a85;
}
.light-button:hover label {
  color: #1e70bf;
}

a {
  cursor: pointer;
}

.cursor-pointer {
  cursor: pointer;
}

.insurance__row-checkbox {
  margin-left: 6px;
}
.insurance__status {
  padding: 5px 10px 6px 10px;
  border-radius: 10px;
  background-color: #74ec6f;
  font-weight: 600;
  font-size: 11px;
  line-height: 12px;
}
.insurance__status.inactive {
  background-color: #fb6969;
}
.insurance__warning {
  width: 20px;
  height: 20px;
  border-radius: 20px;
}
.insurance__warning--2w {
  background-color: #f6ee7a;
}
.insurance__warning--1w {
  background-color: #f9c270;
}
.insurance__warning--expired {
  background-color: #fb6969;
}
.insurance__warning--added-by-client {
  color: gray;
}

.svg-green svg {
  fill: #21ba45 !important;
}

.insurance-modal {
  border-radius: 10px 0 10px 10px !important;
  max-width: 1360px !important;
  width: 1360px !important;
  max-height: calc(100vh - 100px);
  background: #F7F7F7 !important;
}

.ui.modal.insurance-modal {
  background: #F7F7F7 !important;
}

.insurance-modal .policy__view {
  background: transparent;
}

.insurance-modal .header {
  border-top-left-radius: 10px !important;
  border-top-right-radius: 0 !important;
  padding: 10px 30px 12px 30px !important;
  border-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  background: #F7F7F7 !important;
}
.insurance-modal .header__img-box {
  height: 70px;
  margin-bottom: 4px;
}
.insurance-modal .header__img {
  max-height: 70px;
  width: auto;
}
.insurance-modal .header .segmented-tabs {
  background: #eceff3;
  border-radius: 6px;
  padding: 3px;
  border: 0;
  box-shadow: none !important;
}
.insurance-modal .header .segmented-tabs .button,
.insurance-modal .header .segmented-tabs .ui.button {
  background: transparent !important;
  border: 0 !important;
  color: #707070 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.insurance-modal .header .segmented-tabs .button:hover, .insurance-modal .header .segmented-tabs .button:focus,
.insurance-modal .header .segmented-tabs .ui.button:hover,
.insurance-modal .header .segmented-tabs .ui.button:focus {
  background: rgba(255, 255, 255, 0.5) !important;
  color: #1a1a1a !important;
}
.insurance-modal .header .segmented-tabs .button.active,
.insurance-modal .header .segmented-tabs .ui.button.active {
  background: #fff !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
  border-bottom: 0 !important;
}
.insurance-modal__header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  flex-wrap: nowrap;
}
.insurance-modal__header-bar-left {
  flex-shrink: 0;
}
.insurance-modal__header-bar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 0;
}
.insurance-modal__line {
  height: 1px;
  background-color: #003a85;
  padding: 0 30px !important;
}
.insurance-modal > .content {
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  padding: 16px 15px 30px 15px !important;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #F7F7F7 !important;
}

.ui.modal.insurance-modal > .content {
  background: #F7F7F7 !important;
}

.insurance-modal__panel {
  background: #FFFFFF;
  border-radius: 5px;
  padding: 15px;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.insurance-modal__panel--policy,
.insurance-modal__panel--client {
  min-width: 0;
}
.insurance-modal__info-row {
  display: flex;
  flex-direction: row;
  gap: 5px;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 10px;
}
.insurance-modal__info-row--title {
  width: 120px;
  display: flex;
  align-items: start;
}
.insurance-modal__info-row--data {
  width: calc(100% - 125px);
}
.insurance-modal__info-col {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.insurance-modal__info-col--title {
  width: 90px;
  display: flex;
  align-items: center;
}
.insurance-modal [id^=custom-fields-section] .insurance-modal__info-row--title {
  align-items: flex-start;
  padding-top: 6px;
}
.insurance-modal .notification-section {
  margin-left: auto;
  margin-right: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.insurance-modal .email-section,
.insurance-modal .cost-section {
  display: flex;
  align-items: center;
}
.insurance-modal .comment-edit-section {
  margin-top: 10px;
}
.insurance-modal .template-preview {
  min-height: 110px;
}
.insurance-modal .template-preview__box {
  margin-top: 10px;
  display: none;
}
.insurance-modal .template-preview__content {
  border: 1px solid #ccc;
  padding: 10px;
}
.insurance-modal__sections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}
.insurance-modal__body-columns {
  display: grid;
  grid-template-columns: 650px 650px;
  gap: 20px;
  align-items: start;
}
.insurance-modal__body-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  align-self: start;
  height: auto;
  width: 650px;
  max-width: 650px;
}
.insurance-modal__body-col .insurance-modal__panel,
.insurance-modal__body-col .insurance-modal__card {
  width: 100%;
  max-width: 650px;
}
.insurance-modal__sections-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  align-self: start;
  height: auto;
}
.insurance-modal__card {
  background: #FFFFFF;
  border: 0;
  border-radius: 5px;
  padding: 15px;
  flex: 0 0 auto;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}
.insurance-modal__card--flat {
  padding: 0;
}
.insurance-modal__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.insurance-modal__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.insurance-modal__card-title--remarks {
  font-size: 20px;
}
.insurance-modal__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #003a85;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  background: transparent;
  padding: 0;
}
.insurance-modal__card-link svg {
  width: 20px;
  height: 20px;
}
.insurance-modal__card-link:hover {
  color: #1e70bf;
}
.insurance-modal__card-link--plain {
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
}
.insurance-modal__card-link--plain svg {
  width: 16px;
  height: 16px;
}
.insurance-modal__card-body {
  min-width: 0;
  overflow: visible;
}
.insurance-modal__card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.insurance-modal__card-actions--end {
  justify-content: flex-end;
}
.insurance-modal__card-actions--compact {
  gap: 8px;
  justify-content: flex-end;
}
.insurance-modal__card-actions--comment {
  justify-content: space-between;
  margin-top: 15px;
}
.insurance-modal__card-actions--compact .button,
.insurance-modal__card-actions--compact .ui.button {
  white-space: nowrap;
  flex-shrink: 0;
}
.insurance-modal__card-actions--ghost {
  gap: 16px;
}
.insurance-modal__card-actions .ui.button,
.insurance-modal__card-actions .button {
  width: auto !important;
  max-width: 100% !important;
  flex-shrink: 0;
  overflow: visible !important;
}
.insurance-modal__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.insurance-modal__badge--muted {
  background: #f0f0f0;
  color: #707070;
}
.insurance-modal__badge--partial {
  background: #fff3cd;
  color: #856404;
}
.insurance-modal__badge--paid {
  background: #e8f7ec;
  color: #1e7e34;
}
.insurance-modal__badge--unpaid {
  background: #fdecea;
  color: #c0392b;
}
.insurance-modal__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  text-align: center;
}
.insurance-modal__empty-icon svg {
  height: 36px;
  width: auto;
}
.insurance-modal__empty-text {
  color: #707070;
  font-size: 13px;
  margin: 10px 0 0;
}
.insurance-modal__empty--compact {
  padding: 12px 8px;
}
.insurance-modal__empty--compact .insurance-modal__empty-icon svg {
  height: 32px;
}
.insurance-modal__empty--compact .insurance-modal__empty-text {
  margin-top: 8px;
  font-size: 12px;
}
.insurance-modal__empty--inline {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 18px 0;
  text-align: left;
}
.insurance-modal__empty--inline .insurance-modal__empty-icon svg {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.insurance-modal__empty--inline .insurance-modal__empty-text {
  margin: 0;
  font-size: 13px;
  color: #707070;
}
.insurance-modal__empty-row td {
  border: 0 !important;
  padding: 0 !important;
}
.insurance-modal__empty-row td .insurance-modal__empty--inline {
  padding: 14px 0 18px;
}
.insurance-modal__comment-display {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f4;
}
.insurance-modal__comment-display .comment-text {
  word-break: break-word;
  overflow-wrap: break-word;
  margin: 0;
  flex: 1;
}
.insurance-modal__sub-section {
  border-top: 1px solid #eef1f4;
  padding-top: 12px;
}
.insurance-modal__sub-section--finance-schedule {
  border-top: 0;
  padding-top: 0;
  margin-top: 1px;
}
.insurance-modal__sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.insurance-modal__sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.insurance-modal__finance-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.insurance-modal__finance-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insurance-modal__finance-label {
  font-size: 12px;
  font-weight: 700;
  color: #707070;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.insurance-modal__finance-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.insurance-modal__table-wrap {
  overflow-x: auto;
}
.insurance-modal__table-wrap--tooltips {
  overflow: visible;
}
.insurance-modal__table--insured-wrap {
  overflow: visible;
}
.insurance-modal__table {
  width: 100%;
  margin: 0 !important;
}
.insurance-modal__table thead th {
  font-size: 12px;
  font-weight: 700;
  color: #707070;
  text-transform: uppercase;
  border-bottom: 1px solid #eef1f4 !important;
}
.insurance-modal__table tbody td {
  font-size: 14px;
  vertical-align: middle !important;
}
.insurance-modal__comm-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.insurance-modal__comm-toggle-label {
  font-size: 12px;
  font-weight: 700;
  color: #707070;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.insurance-modal__comm-switch {
  display: inline-flex;
  background: #eef1f4;
  border-radius: 20px;
  padding: 3px;
}
.insurance-modal__comm-switch-btn {
  border: 0;
  background: transparent;
  color: #707070;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.insurance-modal__comm-switch-btn.active {
  background: #003a85;
  color: #fff;
}
.insurance-modal__comm-switch-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.insurance-modal__comm-mode-text {
  font-size: 13px;
  font-weight: 600;
  color: #707070;
  transition: color 0.15s;
  user-select: none;
}
.insurance-modal__comm-mode-text.is-active {
  color: #003a85;
  font-weight: 700;
}
.insurance-modal__comm-toggle-checkbox.ui.toggle.checkbox {
  min-height: 0;
  padding-left: 0;
}
.insurance-modal__comm-toggle-checkbox.ui.toggle.checkbox label {
  padding-left: 44px !important;
  min-height: 22px;
}
.insurance-modal__comm-toggle-checkbox.ui.toggle.checkbox label::before {
  width: 38px;
  height: 22px;
}
.insurance-modal__comm-toggle-checkbox.ui.toggle.checkbox label::after {
  width: 18px;
  height: 18px;
  top: 2px;
  left: 2px;
}
.insurance-modal__comm-toggle-checkbox.ui.toggle.checkbox input:checked ~ label::after {
  left: 18px;
}
.insurance-modal__save-btn, .insurance-modal__send-comm-btn, .insurance-modal__cost-save-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: max-content;
  max-width: 100%;
  overflow: visible !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap;
}
.insurance-modal__save-btn .icon, .insurance-modal__send-comm-btn .icon, .insurance-modal__cost-save-btn .icon {
  margin-right: 6px !important;
  flex-shrink: 0;
}
.insurance-modal__card-actions .ui.button,
.insurance-modal__card-actions .button {
  width: auto !important;
  max-width: none !important;
  flex-shrink: 0;
  overflow: visible !important;
}
.insurance-modal__cost-wrap {
  min-width: 0;
  min-height: 32px;
}
.insurance-modal__cost-view {
  display: flex;
  align-items: center;
  gap: 8px;
}
.insurance-modal__cost-view.is-hidden {
  display: none !important;
}
.insurance-modal__cost-label {
  margin: 0;
  cursor: pointer;
  user-select: none;
}
.insurance-modal .cost-edit-section {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
}
.insurance-modal .cost-edit-section.is-active {
  display: flex !important;
}
.insurance-modal__cost-input {
  width: 100px;
  padding: 6px 10px;
  border: 1px solid #d4d4d5;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}
.insurance-modal__cost-save-btn {
  border-radius: 15px !important;
  padding: 6px 12px !important;
  font-size: 13px !important;
}
.insurance-modal [data-tooltip]::before,
.insurance-modal [data-tooltip]::after {
  display: none !important;
  content: none !important;
}
.insurance-modal__floating-tooltip {
  position: fixed;
  z-index: 10003 !important;
  pointer-events: none;
  width: max-content;
  max-width: none;
  min-width: 0;
  padding: 0.45em 0.65em;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.87);
  background: #e8f4ff;
  border: 1px solid #d4d4d5;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(34, 36, 38, 0.12);
  white-space: nowrap;
}
.insurance-modal__floating-tooltip::before, .insurance-modal__floating-tooltip::after {
  display: none !important;
  content: none !important;
}
.insurance-modal__insured-edit {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef1f4;
  overflow: visible;
}
.insurance-modal__insured-edit .js-insured-rows > .js-insured-row + .js-insured-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef1f4;
}
.insurance-modal__details-section {
  margin: 0 0 12px;
  padding: 0;
}
.insurance-modal__details-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.45;
  white-space: pre-wrap;
}
.insurance-modal__insured-form-row {
  display: grid;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.insurance-modal__insured-form-row:focus-within {
  z-index: 5;
}
.insurance-modal__insured-form-row:last-child {
  margin-bottom: 0;
}
.insurance-modal__insured-form-row--identity {
  grid-template-columns: minmax(0, 1.8fr) minmax(100px, 0.9fr) minmax(120px, 1fr);
}
.insurance-modal__insured-form-row--address {
  grid-template-columns: minmax(0, 2fr) 72px 72px 92px minmax(0, 1.4fr);
}
.insurance-modal__insured-form-row--extra {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1fr) 110px 110px;
}
.insurance-modal__soft-input {
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  border-radius: 4px;
  background: #eef4fb !important;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  width: 100%;
}
.insurance-modal__soft-input::placeholder {
  color: #9aa3ad;
}
.insurance-modal__soft-input:focus {
  outline: 2px solid rgba(0, 58, 133, 0.15);
  background: #eef4fb !important;
}
.insurance-modal__insured-edit-form {
  overflow: visible;
}
.insurance-modal__insured-edit-form.ui.form input:not([type=hidden]),
.insurance-modal__insured-edit-form input:not([type=hidden]) {
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  border-radius: 4px;
  background: #eef4fb !important;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  width: 100%;
}
.insurance-modal__insured-edit-form.ui.form input:not([type=hidden])::placeholder,
.insurance-modal__insured-edit-form input:not([type=hidden])::placeholder {
  color: #9aa3ad;
}
.insurance-modal__insured-edit-form.ui.form input:not([type=hidden]):focus,
.insurance-modal__insured-edit-form input:not([type=hidden]):focus {
  outline: 2px solid rgba(0, 58, 133, 0.15);
  background: #eef4fb !important;
  border: 0 !important;
  box-shadow: none !important;
}
.insurance-modal__insured-edit-form.ui.form input:not([type=hidden]).insurance-modal__insured-field-error,
.insurance-modal__insured-edit-form input:not([type=hidden]).insurance-modal__insured-field-error {
  outline: 2px solid #db2828 !important;
  background: #fff6f6 !important;
}
.insurance-modal__insured-edit-form .js-insured-rows {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: visible;
}
.insurance-modal .policy-insured-row--compact {
  min-width: 0;
}
.insurance-modal__insured-form-field {
  min-width: 0;
}
.insurance-modal__insured-form-field > label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.insurance-modal__insured-name-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.insurance-modal__insured-birth-calendar {
  width: 100%;
  position: relative;
}
.insurance-modal__insured-birth-calendar.active, .insurance-modal__insured-birth-calendar:focus-within {
  z-index: 6;
}
.insurance-modal__insured-row-remove {
  align-self: end;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.insurance-modal__insured-row-remove svg {
  width: 18px;
  height: 18px;
}
.insurance-modal__insured-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.insurance-modal__insured-form-actions-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.insurance-modal__insured-add-row-wrap {
  margin-top: 10px;
}
@media (max-width: 900px) {
  .insurance-modal__insured-form-row--identity, .insurance-modal__insured-form-row--address, .insurance-modal__insured-form-row--extra {
    grid-template-columns: 1fr;
  }
}
.insurance-modal .ui.popup,
.insurance-modal .ui.calendar.popup {
  z-index: 10002 !important;
}
.insurance-modal__insured-edit, .insurance-modal__body-col--right,
.insurance-modal .policy-insured-rows-container {
  overflow: visible;
}
.insurance-modal__section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-bottom: 12px;
}
.insurance-modal__section-heading .insurance-modal__subsection-label,
.insurance-modal__section-heading .insurance-modal__sub-title {
  margin: 0;
  flex-shrink: 0;
}
.insurance-modal__section-heading-line {
  flex: 1 1 auto;
  height: 1px;
  background: #d8d8d8;
  min-width: 20px;
  align-self: center;
}
.insurance-modal__section-heading-action {
  flex-shrink: 0;
  margin-left: 0;
}
.insurance-modal__annex-actions {
  gap: 4px;
  justify-content: flex-end;
  align-items: center;
}
.insurance-modal__annex-base-label {
  font-size: 12px;
  font-weight: 700;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 12px;
  padding-left: 0;
  box-sizing: border-box;
}
.insurance-modal__card-body--annex {
  min-width: 0;
  max-width: 100%;
}
.insurance-modal__table-wrap--annex {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
.insurance-modal__table--annex {
  margin: 0 !important;
  width: 100%;
  min-width: 620px;
  max-width: none;
  border-collapse: collapse;
  table-layout: auto;
  border: 0;
}
.insurance-modal__table--annex.ui.celled.table {
  border: 0 !important;
  box-shadow: none !important;
}
.insurance-modal__table--annex.ui.table > thead > tr > th,
.insurance-modal__table--annex.ui.celled.table > thead > tr > th {
  border-top: 0 !important;
  border-bottom: 1px solid #eef1f4 !important;
  border-left: 0 !important;
  border-right: 1px solid #eef1f4 !important;
  vertical-align: top !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 8px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  cursor: auto !important;
  font-style: normal !important;
}
.insurance-modal__table--annex.ui.table > thead > tr > th:first-child,
.insurance-modal__table--annex.ui.celled.table > thead > tr > th:first-child,
.insurance-modal__table--annex.ui.table > tbody > tr > td:first-child,
.insurance-modal__table--annex.ui.celled.table > tbody > tr > td:first-child {
  padding-left: 0 !important;
}
.insurance-modal__table--annex.ui.table > thead > tr > th:last-child,
.insurance-modal__table--annex.ui.celled.table > thead > tr > th:last-child,
.insurance-modal__table--annex.ui.table > tbody > tr > td:last-child,
.insurance-modal__table--annex.ui.celled.table > tbody > tr > td:last-child {
  border-right: 0 !important;
}
.insurance-modal__table--annex.ui.table > tbody > tr > td,
.insurance-modal__table--annex.ui.celled.table > tbody > tr > td {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 1px solid #eef1f4 !important;
  vertical-align: middle !important;
  font-size: 14px !important;
  font-weight: 500;
  color: #1a1a1a;
  padding-top: 8.5px !important;
  padding-bottom: 8.5px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  line-height: 1.3 !important;
  text-align: left !important;
}
.insurance-modal__table--annex.ui.table > tbody > tr.insurance-modal__annex-row > td,
.insurance-modal__table--annex.ui.celled.table > tbody > tr.insurance-modal__annex-row > td {
  border-top: 0 !important;
}
.insurance-modal__table--annex.ui.table > tbody > tr.untoggled + tr.insurance-modal__annex-row > td,
.insurance-modal__table--annex.ui.celled.table > tbody > tr.untoggled + tr.insurance-modal__annex-row > td {
  border-top: 1px solid #eef1f4 !important;
}
.insurance-modal__table--annex.ui.table > tbody > tr.untoggled > td,
.insurance-modal__table--annex.ui.celled.table > tbody > tr.untoggled > td {
  border: 0 !important;
  padding: 0 !important;
}
.insurance-modal__table--annex.ui.table > tbody > tr.untoggled > td .details,
.insurance-modal__table--annex.ui.celled.table > tbody > tr.untoggled > td .details {
  display: none;
  padding: 8px 8px 8.5px 0;
  font-size: 14px;
  line-height: 1.3;
  border-top: 1px solid #eef1f4;
}
.insurance-modal__table--annex thead th.insurance-modal__annex-col-company,
.insurance-modal__table--annex tbody td.insurance-modal__annex-col-company {
  min-width: 72px;
  white-space: nowrap;
}
.insurance-modal__table--annex thead th.insurance-modal__annex-col-number,
.insurance-modal__table--annex tbody td.insurance-modal__annex-col-number {
  min-width: 130px;
  white-space: nowrap;
}
.insurance-modal__table--annex thead th.insurance-modal__annex-col-date,
.insurance-modal__table--annex tbody td.insurance-modal__annex-col-date {
  min-width: 82px;
  white-space: nowrap;
}
.insurance-modal__table--annex thead th.insurance-modal__annex-col-client,
.insurance-modal__table--annex tbody td.insurance-modal__annex-col-client {
  min-width: 110px;
  word-break: break-word;
}
.insurance-modal__table--annex thead th.insurance-modal__annex-action,
.insurance-modal__table--annex tbody td.insurance-modal__annex-action {
  min-width: 96px;
  width: 96px;
  white-space: nowrap;
  vertical-align: middle !important;
  text-align: center;
  padding-left: 4px !important;
  padding-right: 0 !important;
}
.insurance-modal__annex-col-company {
  min-width: 72px;
  white-space: nowrap;
}
.insurance-modal__annex-col-number {
  min-width: 130px;
  white-space: nowrap;
}
.insurance-modal__annex-col-date {
  min-width: 82px;
  white-space: nowrap;
}
.insurance-modal__annex-col-client {
  min-width: 110px;
  word-break: break-word;
}
.insurance-modal__annex-action {
  min-width: 96px;
  width: 96px;
  white-space: nowrap;
  vertical-align: middle !important;
  text-align: center;
  padding-left: 4px !important;
  padding-right: 0 !important;
}
.insurance-modal__annex-btn.ui.icon.button {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 2px !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: auto !important;
}
.insurance-modal__annex-btn.ui.icon.button:hover, .insurance-modal__annex-btn.ui.icon.button:focus {
  background: transparent !important;
  box-shadow: none !important;
}
.insurance-modal__card--comm .insurance-modal__card-actions--end {
  margin-bottom: 0;
}
.insurance-modal__history-section {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
.insurance-modal__history-section .insurance-modal__section-heading {
  margin-bottom: 15px;
  padding-left: 0;
  box-sizing: border-box;
}
.insurance-modal__history-section .insurance-modal__section-heading .insurance-modal__sub-title {
  font-size: 12px !important;
  font-weight: 900 !important;
  color: #1a1a1a !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.insurance-modal__history-section .insurance-modal__history-panel {
  margin: 0;
  padding: 0;
}
.insurance-modal__history-empty {
  padding: 8px 0 4px;
}
.insurance-modal__table-wrap--history {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.insurance-modal__table--history {
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 0;
}
.insurance-modal__table--history.ui.celled.table {
  border: 0 !important;
  box-shadow: none !important;
}
.insurance-modal__table--history.ui.table > thead > tr > th,
.insurance-modal__table--history.ui.celled.table > thead > tr > th {
  border-top: 0 !important;
  border-bottom: 1px solid #eef1f4 !important;
  border-left: 0 !important;
  border-right: 1px solid #eef1f4 !important;
  vertical-align: top !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 8px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  cursor: auto !important;
  font-style: normal !important;
}
.insurance-modal__table--history.ui.table > thead > tr > th:first-child,
.insurance-modal__table--history.ui.celled.table > thead > tr > th:first-child,
.insurance-modal__table--history.ui.table > tbody > tr > td:first-child,
.insurance-modal__table--history.ui.celled.table > tbody > tr > td:first-child {
  padding-left: 0 !important;
}
.insurance-modal__table--history.ui.table > thead > tr > th:last-child,
.insurance-modal__table--history.ui.celled.table > thead > tr > th:last-child,
.insurance-modal__table--history.ui.table > tbody > tr > td:last-child,
.insurance-modal__table--history.ui.celled.table > tbody > tr > td:last-child {
  border-right: 0 !important;
}
.insurance-modal__table--history.ui.table > tbody > tr > td,
.insurance-modal__table--history.ui.celled.table > tbody > tr > td {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 1px solid #eef1f4 !important;
  vertical-align: top !important;
  font-size: 14px !important;
  padding-top: 8.5px !important;
  padding-bottom: 8.5px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  line-height: 1.3 !important;
  text-align: left !important;
}
.insurance-modal__table--history.ui.table > tbody > tr.insurance-modal__history-row > td,
.insurance-modal__table--history.ui.celled.table > tbody > tr.insurance-modal__history-row > td {
  border-top: 0 !important;
}
.insurance-modal__table--history.ui.table > tbody > tr.untoggled + tr.insurance-modal__history-row > td,
.insurance-modal__table--history.ui.celled.table > tbody > tr.untoggled + tr.insurance-modal__history-row > td {
  border-top: 1px solid #eef1f4 !important;
}
.insurance-modal__table--history.ui.table > tbody > tr.untoggled > td,
.insurance-modal__table--history.ui.celled.table > tbody > tr.untoggled > td {
  border: 0 !important;
  padding: 0 !important;
}
.insurance-modal__table--history.ui.table > tbody > tr.untoggled > td .details,
.insurance-modal__table--history.ui.celled.table > tbody > tr.untoggled > td .details {
  display: none;
  padding: 8px 8px 8.5px 0;
  font-size: 14px;
  line-height: 1.3;
  border-top: 1px solid #eef1f4;
}
.insurance-modal__table--history tbody tr.insurance-modal__empty-row td {
  border: 0 !important;
  padding: 0 !important;
}
.insurance-modal__history-col-date {
  width: 88px;
  max-width: 88px;
  white-space: nowrap;
}
.insurance-modal__history-col-content {
  min-width: 0;
  width: auto;
}
.insurance-modal__history-date {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.insurance-modal__history-date-day {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}
.insurance-modal__history-date-time {
  font-size: 14px;
  font-weight: 500;
  color: #707070;
}
.insurance-modal__history-preview {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  word-break: break-word;
}
.insurance-modal__history-action {
  width: 36px;
  max-width: 36px;
  white-space: nowrap;
  vertical-align: top !important;
  text-align: center;
  padding-left: 4px !important;
  padding-right: 0 !important;
}
.insurance-modal__history-btn.ui.icon.button {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 2px !important;
  margin: 0 !important;
  min-width: 0 !important;
  width: auto !important;
}
.insurance-modal__history-btn.ui.icon.button:hover, .insurance-modal__history-btn.ui.icon.button:focus {
  background: transparent !important;
  box-shadow: none !important;
}
.insurance-modal__history-btn.ui.icon.button svg {
  width: 18px;
  height: 18px;
}
.insurance-modal__field textarea {
  min-height: 90px;
}
@media (max-width: 900px) {
  .insurance-modal__sections-grid, .insurance-modal__body-columns, .insurance-modal__top-grid {
    grid-template-columns: 1fr;
  }
  .insurance-modal__header-bar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .insurance-modal__header-bar-right {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
  }
  .insurance-modal__top-toolbar {
    flex-wrap: wrap;
  }
  .insurance-modal__wallet-form-panel {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .insurance-modal__wallet-email-input {
    width: 100%;
    max-width: 100%;
  }
  .insurance-modal__finance-summary, .insurance-modal__meta-grid, .insurance-modal__vehicle-grid, .insurance-modal__client-grid, .insurance-modal__installments-grid {
    grid-template-columns: 1fr;
  }
}
.insurance-modal__top-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 10px;
  margin-bottom: 0;
  border-bottom: 0;
  flex-wrap: nowrap;
}
.insurance-modal__top-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.insurance-modal__top-toolbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 0;
}
.insurance-modal__wallet-form-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f4;
}
.insurance-modal__wallet-form-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.insurance-modal__wallet-email-input {
  width: 210px;
  max-width: 210px;
  flex-shrink: 0;
}
.insurance-modal__wallet-send-btn {
  border-radius: 999px !important;
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 16px !important;
  padding-right: 16px !important;
  font-size: 13px !important;
}
.insurance-modal__wallet-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  white-space: nowrap;
}
.insurance-modal__wallet-link:hover {
  color: #1a1a1a;
  opacity: 0.85;
}
.insurance-modal__wallet-icon svg {
  width: 110px;
  height: auto;
  display: block;
  flex-shrink: 0;
}
.insurance-modal__wallet-text {
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
}
.insurance-modal__notification-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
.insurance-modal__notification-label {
  font-size: 10px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: normal;
  max-width: 150px;
}
.insurance-modal__top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 6px;
  align-items: start;
}
.insurance-modal__top-col {
  min-width: 0;
}
.insurance-modal__block-divider {
  display: none;
}
.insurance-modal__policy-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  align-items: start;
  margin-bottom: 12px;
  min-height: 57px;
}
.insurance-modal__policy-head .insurance-modal__status-badge--active {
  background: #34a853;
  color: #fff;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
}
.insurance-modal__policy-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  grid-column: 1;
}
.insurance-modal__policy-brand-info {
  flex: 1;
  min-width: 0;
}
.insurance-modal__policy-head:has(.insurance-modal__inline-field--company.editing) .insurance-modal__policy-brand {
  grid-column: 1 / -1;
  width: 100%;
}
.insurance-modal__policy-logo-box {
  flex-shrink: 0;
  width: 120px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.insurance-modal__policy-logo {
  max-height: 68px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.insurance-modal__policy-brand-label, .insurance-modal__field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 5px;
}
.insurance-modal__policy-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.insurance-modal__policy-number-block {
  text-align: left;
  min-width: 0;
  grid-column: 2;
  align-self: start;
}
.insurance-modal__policy-number-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 5px;
  width: 100%;
}
.insurance-modal__policy-number-header .insurance-modal__field-label {
  margin-bottom: 0;
  line-height: 1.2;
}
.insurance-modal__policy-number-header .insurance-modal__status-badge {
  flex-shrink: 0;
  margin-top: 0;
}
.insurance-modal__policy-number-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  flex-wrap: nowrap;
  min-width: 0;
}
.insurance-modal__policy-number-row .insurance-modal__inline-field--policy-number {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
.insurance-modal__policy-number-row .insurance-modal__field-value--copyable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  width: auto;
  max-width: 100%;
}
.insurance-modal__policy-number-row .insurance-modal__field-value--copyable > span:first-child {
  flex: 0 1 auto;
  min-width: 0;
}
.insurance-modal__policy-number-row .insurance-modal__field-value--copyable .insurance-modal__copy-btn {
  margin-left: 0;
  align-self: center;
  flex-shrink: 0;
}
.insurance-modal__policy-number {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.insurance-modal__status-badge {
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
  white-space: nowrap;
}
.insurance-modal__status-badge--active {
  background: #e8f7ee;
  color: #1e8e3e;
}
.insurance-modal__status-badge--inactive {
  background: #f0f0f0;
  color: #707070;
}
.insurance-modal__meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-bottom: 12px;
}
.insurance-modal__subsection-label {
  font-size: 12px;
  font-weight: 700;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.insurance-modal__vehicle-section {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}
.insurance-modal__vehicle-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}
.insurance-modal__vehicle-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.insurance-modal__vehicle-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}
.insurance-modal__vehicle-line-text {
  flex: 1;
  min-width: 0;
}
.insurance-modal__vehicle-key {
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}
.insurance-modal__section-title {
  font-size: 16px;
  font-weight: 700;
  color: #003a85;
  margin: 0 0 14px;
}
.insurance-modal__field-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  word-break: break-word;
  line-height: 1.35;
}
.insurance-modal__field-value--empty {
  color: #b8b8b8;
  font-weight: 500;
}
.insurance-modal__field-value--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.insurance-modal__field-value--with-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.insurance-modal__field-value--copyable {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  width: 100%;
}
.insurance-modal__field-value--copyable > span:first-child {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}
.insurance-modal__field-value--copyable .insurance-modal__copy-btn {
  margin-left: auto;
  align-self: flex-start;
  flex-shrink: 0;
}
.insurance-modal__field-value--break {
  display: block;
  width: 100%;
  max-width: 100%;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.insurance-modal__copy-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #003a85;
  flex-shrink: 0;
}
.insurance-modal__copy-btn svg {
  width: 14px;
  height: 14px;
}
.insurance-modal__copy-btn--end {
  margin-left: auto;
}
.insurance-modal__client-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  min-height: 57px;
}
.insurance-modal__client-identity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.insurance-modal__client-identity-text {
  min-width: 0;
}
.insurance-modal__client-name-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}
.insurance-modal__client-name {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #003a85;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.25;
  word-break: break-word;
}
.insurance-modal__client-name:hover {
  color: #1e70bf;
}
.insurance-modal__client-name--plain {
  text-decoration: none;
  cursor: default;
}
.insurance-modal__client-name--plain:hover {
  color: #003a85;
}
.insurance-modal__client-name--empty, .insurance-modal__client-name--empty:hover {
  color: #b8b8b8;
  text-decoration: none;
}
.insurance-modal__insured-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.insurance-modal__insured-name > span:first-child {
  flex: 1;
  min-width: 0;
}
.insurance-modal__client-avatar {
  width: 55px;
  height: 57px;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.insurance-modal__client-avatar svg {
  width: 55px;
  height: auto;
  max-height: 68px;
}
.insurance-modal__send-data-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #e4f5eb;
  color: #003a85;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1.15;
  text-align: left;
  box-shadow: none;
}
.insurance-modal__send-data-btn:hover {
  background: #d8efe3;
  color: #003a85;
}
.insurance-modal__send-data-icon svg {
  width: 18px;
  height: 16px;
  flex-shrink: 0;
  display: block;
}
.insurance-modal__send-data-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  white-space: normal;
}
.insurance-modal__client-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.insurance-modal__client-row {
  display: grid;
  gap: 10px 24px;
  align-items: start;
  padding-top: 8.5px;
  padding-bottom: 8.5px;
  border-bottom: 1px solid #eef1f4;
}
.insurance-modal__client-row:first-child {
  padding-top: 0;
}
.insurance-modal__client-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.insurance-modal__client-row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.insurance-modal__client-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.insurance-modal__client-cell {
  min-width: 0;
  align-self: start;
}
.insurance-modal__client-cell .insurance-modal__inline-view {
  align-items: flex-start;
}
.insurance-modal__client-cell .insurance-modal__field-value--copyable {
  align-items: flex-start;
}
.insurance-modal__client-cell--spacer {
  visibility: hidden;
  pointer-events: none;
}
.insurance-modal__client-cell--span-rest {
  grid-column: 2 / -1;
  min-width: 0;
}
.insurance-modal__insured-section {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.insurance-modal__insured-section .insurance-modal__table-wrap,
.insurance-modal__insured-section .insurance-modal__table-wrap--tooltips {
  max-width: 100%;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}
.insurance-modal__insured-header {
  margin-bottom: 15px;
}
.insurance-modal__insured-header .insurance-modal__subsection-label {
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.insurance-modal__insured-header .insurance-modal__card-link--plain {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: #003a85;
  gap: 6px;
}
.insurance-modal__insured-header .insurance-modal__card-link--plain svg {
  width: 16px;
  height: 16px;
}
.insurance-modal__insured-header .insurance-modal__card-link--plain:hover {
  color: #1e70bf;
  background: transparent;
}
.insurance-modal__insured-header-line {
  display: none;
}
.insurance-modal__card-header--tight {
  margin-bottom: 10px;
}
.insurance-modal__actions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 0;
  border-top: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.insurance-modal__action-btn-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}
.insurance-modal__action-btn-wrap--disabled {
  cursor: not-allowed;
}
.insurance-modal__action-btn {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 57px;
  min-height: 57px;
  max-height: 57px;
  padding: 6px 4px;
  border-radius: 8px;
  border: 0;
  background: #edf6fc;
  color: #003a85;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  overflow: hidden;
  box-sizing: border-box;
  transition: background-color 0.15s ease;
}
.insurance-modal__action-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.insurance-modal__action-btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  line-height: 1.1;
}
.insurance-modal__action-btn-line {
  display: block;
  max-width: 100%;
  word-break: break-word;
}
.insurance-modal__action-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.insurance-modal__action-btn--apk {
  background: #ebf4ff;
  color: #003a85;
}
.insurance-modal__action-btn--apk:hover {
  background: #d6e6f9;
  color: #003a85;
}
.insurance-modal__action-btn--green {
  background: #e4f5eb;
  color: #003a85;
}
.insurance-modal__action-btn--green:hover {
  background: #bce9cf;
  color: #003a85;
}
.insurance-modal__action-btn--blue {
  background: #ebf4ff;
  color: #003a85;
}
.insurance-modal__action-btn--blue:hover {
  background: #d6e6f9;
  color: #003a85;
}
.insurance-modal__action-btn--danger, .insurance-modal__action-btn--danger-outline {
  background: #ffdfe1;
  color: #d9000d;
  border-color: transparent;
}
.insurance-modal__action-btn--danger:hover, .insurance-modal__action-btn--danger-outline:hover {
  background: #f8bec2;
  color: #d9000d;
}
.insurance-modal__action-btn--warning {
  background: #ffe9d6;
  color: #e67e22;
  border-color: transparent;
}
.insurance-modal__action-btn--warning:hover {
  background: #f9cea8;
  color: #e67e22;
}
.insurance-modal__table--insured {
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  max-width: 100%;
}
.insurance-modal__table--insured.ui.celled.table {
  border: 0 !important;
  box-shadow: none !important;
}
.insurance-modal__table--insured.ui.table > thead > tr > th,
.insurance-modal__table--insured.ui.celled.table > thead > tr > th {
  border-top: 0 !important;
  border-bottom: 1px solid #eef1f4 !important;
  border-left: 0 !important;
  border-right: 1px solid #eef1f4 !important;
  vertical-align: top !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 8px !important;
  line-height: 1.2 !important;
  text-align: left !important;
  cursor: auto !important;
  font-style: normal !important;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.insurance-modal__table--insured.ui.table > thead > tr > th:first-child,
.insurance-modal__table--insured.ui.celled.table > thead > tr > th:first-child {
  padding-left: 0 !important;
  padding-right: 2px !important;
}
.insurance-modal__table--insured.ui.table > tbody > tr > td:first-child,
.insurance-modal__table--insured.ui.celled.table > tbody > tr > td:first-child {
  padding-left: 0 !important;
}
.insurance-modal__table--insured.ui.table > thead > tr > th:last-child,
.insurance-modal__table--insured.ui.celled.table > thead > tr > th:last-child,
.insurance-modal__table--insured.ui.table > tbody > tr > td:last-child,
.insurance-modal__table--insured.ui.celled.table > tbody > tr > td:last-child {
  border-right: 0 !important;
}
.insurance-modal__table--insured.ui.table > tbody > tr > td,
.insurance-modal__table--insured.ui.celled.table > tbody > tr > td {
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 1px solid #eef1f4 !important;
  font-size: 14px;
  vertical-align: top !important;
  padding-top: 8.5px;
  padding-bottom: 8.5px;
  padding-left: 3px;
  padding-right: 3px;
  overflow-wrap: break-word;
  line-height: 1.3;
}
.insurance-modal__table--insured.ui.table > tbody > tr > td > span,
.insurance-modal__table--insured.ui.celled.table > tbody > tr > td > span {
  display: block;
  line-height: 1.3;
}
.insurance-modal__table--insured.ui.table > tbody > tr + tr > td,
.insurance-modal__table--insured.ui.celled.table > tbody > tr + tr > td {
  border-top: 1px solid #eef1f4 !important;
}
.insurance-modal__table--insured thead th:nth-child(1),
.insurance-modal__table--insured tbody td:nth-child(1) {
  width: 18px;
  max-width: 18px;
  padding-left: 0 !important;
  padding-right: 2px !important;
}
.insurance-modal__table--insured thead th:nth-child(2),
.insurance-modal__table--insured tbody td:nth-child(2) {
  width: 23%;
  max-width: 0;
  padding-left: 3px !important;
  padding-right: 3px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.insurance-modal__table--insured thead th:nth-child(3),
.insurance-modal__table--insured tbody td:nth-child(3) {
  width: 34%;
  max-width: 0;
  padding-left: 3px !important;
  padding-right: 3px !important;
}
.insurance-modal__table--insured thead th:nth-child(4),
.insurance-modal__table--insured tbody td:nth-child(4) {
  width: 18%;
  max-width: 0;
  padding-left: 3px !important;
  padding-right: 6px !important;
  white-space: nowrap;
}
.insurance-modal__table--insured thead th:nth-child(5),
.insurance-modal__table--insured tbody td:nth-child(5) {
  width: 16%;
  max-width: 0;
  padding-left: 3px !important;
  padding-right: 4px !important;
  white-space: nowrap;
}
.insurance-modal__table--insured thead th:last-child,
.insurance-modal__table--insured tbody td:last-child {
  width: 38px;
  max-width: 38px;
  min-width: 38px;
  padding-left: 10px !important;
  padding-right: 0 !important;
  text-align: right;
  white-space: nowrap;
}
.insurance-modal__table--insured tbody td.insurance-modal__insured-actions {
  white-space: nowrap;
  vertical-align: top !important;
  text-align: right;
}
.insurance-modal__table--insured tbody td:nth-child(4),
.insurance-modal__table--insured tbody td:nth-child(5) {
  overflow-wrap: normal;
}
.insurance-modal__table--insured .insurance-modal__insured-index {
  text-align: center;
  vertical-align: top !important;
}
.insurance-modal__table--insured .insurance-modal__field-value--empty {
  white-space: nowrap;
}
.insurance-modal__table--insured .insurance-modal__insured-actions {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.insurance-modal__table--insured .insurance-modal__table-actions {
  display: flex;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-end;
  line-height: 1;
}
.insurance-modal__table--insured .insurance-modal__icon-btn {
  padding: 0;
  min-width: 0;
  display: inline-flex;
  align-items: flex-start;
  line-height: 0;
}
.insurance-modal__table--insured .insurance-modal__icon-btn .flex {
  align-items: flex-start;
  line-height: 0;
}
.insurance-modal__table--insured .insurance-modal__icon-btn.edit-insured-btn {
  width: 15px;
  height: 15px;
}
.insurance-modal__table--insured .insurance-modal__icon-btn.edit-insured-btn svg {
  width: 15px;
  height: 15px;
}
.insurance-modal__table--insured .insurance-modal__icon-btn.delete-insured-btn {
  width: 13px;
  height: 16px;
}
.insurance-modal__table--insured .insurance-modal__icon-btn.delete-insured-btn svg {
  width: 13px;
  height: 16px;
}
.insurance-modal__insured-index {
  text-align: center;
}
.insurance-modal__address-lines {
  display: block;
  line-height: 1.3;
  word-break: break-word;
}
.insurance-modal__client-added-note {
  font-size: 12px;
  color: #767676;
  font-style: italic;
}
.insurance-modal__remarks-section {
  margin-top: 8px;
}
.insurance-modal__remarks-form {
  max-width: 100%;
  margin-top: 14px;
}
.insurance-modal__remarks-form .field {
  max-width: 100%;
}
.insurance-modal__remarks-form .ui.dropdown,
.insurance-modal__remarks-form select,
.insurance-modal__remarks-form textarea,
.insurance-modal__remarks-form input[type=text],
.insurance-modal__remarks-form input[type=number] {
  max-width: 100%;
}
.insurance-modal__remarks-comment {
  min-width: 0;
}
.insurance-modal__remarks-comment--separated {
  margin-top: 20px;
  padding-top: 0;
  border-top: 1px solid #eef1f4;
}
.insurance-modal__remarks-comment .comment-edit-section {
  margin-top: 0;
}
.insurance-modal__remarks-comment .insurance-modal__comment-form {
  max-width: 100%;
  min-width: 0;
}
.insurance-modal__remarks-field-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.insurance-modal__remarks-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  word-break: break-word;
}
.insurance-modal__remarks-date {
  color: #1a1a1a;
  white-space: nowrap;
  font-size: 13px;
}
.insurance-modal__ghost-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.insurance-modal__cancel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0 !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #333 !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.insurance-modal__cancel-btn:hover {
  background: #d5d5d5 !important;
  color: #1a1a1a !important;
}
.insurance-modal__drop-zone {
  border: 1px dashed #003a85;
  border-radius: 6px;
  background: #f8fbff;
  padding: 28px 20px;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.insurance-modal__drop-zone.is-dragover {
  background: #ebf4ff;
  border-color: #1e70bf;
}
.insurance-modal__drop-zone-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #003a85;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
}
.insurance-modal__drop-zone-icon svg {
  width: 22px;
  height: 22px;
}
.insurance-modal__selected-files {
  margin-top: 10px;
  font-size: 13px;
  color: #707070;
}
.insurance-modal__selected-files p {
  margin: 0;
  font-style: italic;
  color: #999;
}
.insurance-modal__card-actions--upload {
  margin-top: 14px;
}
.insurance-modal__installments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.insurance-modal__table--installments {
  border-collapse: collapse;
  width: 100%;
  border: 0;
}
.insurance-modal__table--installments.ui.celled.table {
  border: 0 !important;
  box-shadow: none !important;
}
.insurance-modal__table--installments.ui.table > thead > tr > th,
.insurance-modal__table--installments.ui.celled.table > thead > tr > th {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-top: 0 !important;
  border-bottom: 1px solid #e8ecf1 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 8px !important;
  padding-left: 3px !important;
  padding-right: 3px !important;
  vertical-align: bottom;
  line-height: 1.2 !important;
}
.insurance-modal__table--installments.ui.table > thead > tr > th:nth-child(3),
.insurance-modal__table--installments.ui.celled.table > thead > tr > th:nth-child(3) {
  text-align: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.insurance-modal__table--installments.ui.table > tbody > tr > td,
.insurance-modal__table--installments.ui.celled.table > tbody > tr > td {
  font-size: 13px;
  vertical-align: middle !important;
  border-top: 1px solid #e8ecf1 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  padding-top: 8.5px !important;
  padding-bottom: 8.5px !important;
  padding-left: 3px !important;
  padding-right: 3px !important;
  line-height: 1.3;
}
.insurance-modal__table--installments.ui.table > tbody > tr > td:last-child,
.insurance-modal__table--installments.ui.celled.table > tbody > tr > td:last-child {
  width: 28px;
  padding-right: 0 !important;
}
.insurance-modal__installments-col {
  min-width: 0;
}
.insurance-modal__installment-action-cell {
  text-align: center;
  vertical-align: middle !important;
  white-space: nowrap;
  width: 28px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.insurance-modal__installment-btn-check {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.insurance-modal__installment-btn-check svg {
  width: 10px;
  height: 10px;
  display: block;
}
.insurance-modal__installment-btn-check svg path {
  fill: #003a85 !important;
}
.insurance-modal__installment-btn-icon--minus {
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: #d9000d;
  display: block;
}
.insurance-modal__installment-lp {
  width: 28px;
  color: #1a1a1a;
  font-weight: 600;
  white-space: nowrap;
}
.insurance-modal__installment-status-cell {
  width: 36px;
  text-align: center !important;
  vertical-align: middle !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.insurance-modal__installment-status-cell .insurance-modal__installment-status {
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
}
.insurance-modal__installment-amount {
  font-weight: 600;
  white-space: nowrap;
}
.insurance-modal__installment-status {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.insurance-modal__installment-status--paid {
  background: #21ba45;
}
.insurance-modal__installment-status--unpaid {
  background: #db2828;
}
.insurance-modal__installment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
}
.insurance-modal__installment-btn svg {
  width: 10px;
  height: 10px;
  display: block;
}
.insurance-modal__installment-btn--mark {
  background: #ebf4ff;
}
.insurance-modal__installment-btn--undo {
  background: #fdecea;
}
.insurance-modal__installments-add-row-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding-top: 4px;
}
.insurance-modal__installment-input {
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  border-radius: 4px;
  background: #eef4fb !important;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
}
.insurance-modal__installment-input::placeholder {
  color: #9aa3ad;
}
.insurance-modal__installment-input:focus {
  outline: 2px solid rgba(0, 58, 133, 0.12);
  background: #eef4fb !important;
}
.insurance-modal__installment-input--error {
  outline: 2px solid rgba(217, 0, 13, 0.35) !important;
  background: #fff5f5 !important;
}
.insurance-modal__installment-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}
.insurance-modal__installment-form-field {
  min-width: 0;
}
.insurance-modal__installment-form-field > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.insurance-modal__installment-date-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #eef4fb;
  border-radius: 4px;
  min-height: 38px;
  padding: 0 12px;
  box-sizing: border-box;
}
.insurance-modal__installment-date-input .insurance-modal__installment-input {
  flex: 1;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent !important;
  min-height: 36px;
}
.insurance-modal__installment-date-icon {
  flex-shrink: 0;
  color: #003a85;
  line-height: 0;
}
.insurance-modal__installment-date-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}
.insurance-modal__installment-due-calendar {
  width: 100%;
  position: relative;
}
.insurance-modal__installment-status-dropdown {
  min-height: 38px !important;
  height: 38px;
  line-height: 38px !important;
  border-radius: 4px !important;
  background: #eef4fb !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 2.2em 0 12px !important;
  display: block !important;
  position: relative;
}
.insurance-modal__installment-status-dropdown::after {
  display: none !important;
}
.insurance-modal__installment-status-dropdown > .dropdown.icon {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
  color: #003a85 !important;
  opacity: 1 !important;
  pointer-events: none;
  float: none !important;
}
.insurance-modal__installment-status-dropdown > .text {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  height: 38px;
  box-sizing: border-box;
}
.insurance-modal__installment-status-dropdown > .text .insurance-modal__installment-status {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
}
.insurance-modal__installment-status-dropdown .menu > .item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.insurance-modal__installment-status-dropdown.upward .menu {
  margin-top: 0;
  margin-bottom: 4px;
}
.insurance-modal__installment-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eef1f4;
}
.insurance-modal__installments-save-btn {
  min-width: 120px;
}
.insurance-modal__installments-edit {
  margin-top: 4px;
}
.insurance-modal__installments-edit .js-installment-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.policy-installment-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 40px;
  gap: 10px 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid #eef1f4;
}
.policy-installment-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.policy-installment-row__label-col {
  display: flex;
  align-items: center;
  margin-top: 18px;
  height: 38px;
  min-height: 38px;
}
.policy-installment-row__title {
  font-size: 11px;
  font-weight: 700;
  color: #9aa3ad;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  margin: 0;
}
.policy-installment-row__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  opacity: 0.9;
  flex-shrink: 0;
  margin-top: 18px;
}
.policy-installment-row__remove .flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.policy-installment-row__remove svg {
  width: 15px;
  height: 17px;
  display: block;
}
.policy-installment-row__remove svg path {
  fill: #d9000d;
}
.policy-installment-row__remove:hover {
  opacity: 1;
}
@media (max-width: 900px) {
  .policy-installment-row {
    grid-template-columns: 1fr 40px;
    grid-template-areas: 'label remove' 'fields fields';
    gap: 8px 10px;
    align-items: center;
  }
  .policy-installment-row__label-col {
    grid-area: label;
    padding-bottom: 0;
    min-height: 0;
    margin-top: 0;
    height: auto;
  }
  .policy-installment-row__remove {
    grid-area: remove;
    justify-self: end;
    align-self: start;
    width: 34px;
    height: 34px;
    margin-top: 18px;
  }
  .policy-installment-row .insurance-modal__installment-form-row {
    grid-area: fields;
    grid-template-columns: 1fr;
  }
}
.insurance-modal__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
  width: 15px;
  height: 15px;
  cursor: pointer;
  line-height: 0;
}
.insurance-modal__icon-btn .flex {
  align-items: flex-start;
  line-height: 0;
}
.insurance-modal__icon-btn svg {
  width: 15px;
  height: 15px;
}
.insurance-modal__icon-btn--danger,
.insurance-modal__icon-btn.delete-insured-btn,
.insurance-modal__icon-btn.delete-insurance-attachment-btn,
.insurance-modal__icon-btn.cf-delete-btn {
  width: 13px;
  height: 16px;
}
.insurance-modal__icon-btn--danger svg,
.insurance-modal__icon-btn.delete-insured-btn svg,
.insurance-modal__icon-btn.delete-insurance-attachment-btn svg,
.insurance-modal__icon-btn.cf-delete-btn svg {
  width: 13px;
  height: 16px;
}
.insurance-modal__icon-btn--danger svg path, .insurance-modal__icon-btn--danger svg {
  fill: #d9000d;
}
.insurance-modal__table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.insurance-modal__table--remarks, .insurance-modal__table--attachments {
  border: 0;
}
.insurance-modal__table--remarks thead th, .insurance-modal__table--attachments thead th {
  background: transparent;
  border-bottom: 1px solid #e8ecf1 !important;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  padding-top: 0;
  padding-bottom: 8px;
}
.insurance-modal__table--remarks tbody td, .insurance-modal__table--attachments tbody td {
  border-top: 1px solid #e8ecf1 !important;
  font-size: 13px;
  vertical-align: middle !important;
  padding-top: 10px;
  padding-bottom: 10px;
}
.insurance-modal__table--remarks tbody td {
  padding-top: 8px;
  padding-bottom: 8px;
}
.insurance-modal__table--remarks {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}
.insurance-modal__table--remarks th.collapsing,
.insurance-modal__table--remarks td.collapsing {
  width: auto !important;
  white-space: normal !important;
}
.insurance-modal__table--remarks thead th,
.insurance-modal__table--remarks tbody td {
  vertical-align: top !important;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-left: 6px;
  padding-right: 6px;
  box-sizing: border-box;
}
.insurance-modal__table--remarks thead th:nth-child(1),
.insurance-modal__table--remarks tbody td:nth-child(1) {
  width: 42px;
  max-width: 42px;
  min-width: 42px;
  padding-left: 0 !important;
  padding-right: 6px !important;
  text-align: center;
}
.insurance-modal__table--remarks thead th:nth-child(2),
.insurance-modal__table--remarks tbody td:nth-child(2) {
  width: 100px;
  max-width: 100px;
  min-width: 100px;
  padding-left: 4px !important;
  padding-right: 10px !important;
}
.insurance-modal__table--remarks thead th:nth-child(3),
.insurance-modal__table--remarks tbody td:nth-child(3) {
  width: auto;
  padding-left: 4px !important;
  padding-right: 8px !important;
}
.insurance-modal__table--remarks thead th:nth-child(4),
.insurance-modal__table--remarks tbody td:nth-child(4) {
  width: 100px;
  max-width: 100px;
  min-width: 100px;
  padding-left: 4px !important;
  padding-right: 4px !important;
  white-space: nowrap;
}
.insurance-modal__table--remarks thead th:last-child,
.insurance-modal__table--remarks tbody td:last-child {
  width: 52px;
  max-width: 52px;
  min-width: 52px;
  padding-left: 2px !important;
  padding-right: 0 !important;
}
.insurance-modal__table--remarks .insurance-modal__table-actions {
  gap: 2px;
  justify-content: flex-end;
}
.insurance-modal__table--remarks .insurance-modal__remarks-col-type .insurance-modal__remarks-field-name {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}
.insurance-modal__table--remarks .insurance-modal__remarks-col-value .insurance-modal__remarks-value,
.insurance-modal__table--remarks .insurance-modal__remarks-col-value .cf-display-value {
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}
.insurance-modal__table--remarks .insurance-modal__remarks-date,
.insurance-modal__table--remarks .insurance-modal__remarks-col-date {
  font-size: 12px;
  line-height: 1.35;
}
.insurance-modal__file-type-icon svg {
  width: 15px;
  height: 18px;
  display: block;
}
.insurance-modal__file-link {
  color: #003a85;
  font-weight: 600;
  text-decoration: none;
}
.insurance-modal__file-link:hover {
  color: #1e70bf;
  text-decoration: underline;
}

.apk__row-checkbox {
  margin-left: 6px;
}

.apk-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.apk-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.apk-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e0e0e0;
  border-radius: 24px;
  transition: background-color 0.3s ease;
}
.apk-toggle-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #003a85;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.apk-toggle-switch input:checked + .apk-toggle-slider {
  background-color: #e0e0e0;
}
.apk-toggle-switch input:checked + .apk-toggle-slider::before {
  transform: translateX(20px);
}

.client-list .checkbox.table-checkbox {
  width: 17px;
}

.clients-pdf {
  width: 100%;
  height: 100%;
}
.clients-pdf table {
  background-color: #e0e1e2;
}
.clients-pdf table th {
  padding: 2px 4px;
  font-size: 10px;
  background-color: #f7f7f7;
}
.clients-pdf table td {
  font-size: 10px;
  padding: 8px;
  background-color: white;
}

.confirm-delete-modal {
  max-width: 550px;
}

.note__priority {
  padding: 6px 10px 6px 10px;
  border-radius: 10px;
  background-color: #74ec6f;
  font-weight: 600;
  font-size: 12px;
  margin-right: 10px;
  margin-bottom: 0;
}
.note__priority--low {
  background-color: #c3edc1;
}
.note__priority--medium {
  background-color: #f9c270;
}
.note__priority--high {
  background-color: #fb6969;
}

.add-attachment-modal__drop-area {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  border: 1px dashed;
  border-radius: 10px;
  cursor: pointer;
}
.add-attachment-modal__drop-area p {
  cursor: pointer;
  margin: 0;
}

.cancel-insurance-modal {
  max-width: 720px;
  font-size: 14px;
  line-height: 20px;
}
.cancel-insurance-modal .form {
  padding: 20px;
}
.cancel-insurance-modal .divider {
  margin: 0;
}
.cancel-insurance-modal .signature-box {
  border-top: solid 1px black;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 90px;
  padding: 5px;
  width: 300px;
}
.cancel-insurance-modal .field {
  max-width: 475px;
  margin-bottom: 0 !important;
  width: 100%;
}
.termination-insurance {
  font-size: 12px;
  line-height: 16px;
  color: #01264a;
}
.termination-insurance .signature-box {
  border-top: solid 1px black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 90px;
  padding: 5px;
  width: 300px;
}

.client-panel__pagination {
  margin-top: 0 !important;
}
.client-panel__pagination a,
.client-panel__pagination .active {
  padding: 8px 12px !important;
  margin: 0 !important;
}
.client-panel__pagination .left-arrow,
.client-panel__pagination .right-arrow {
  padding: 8px 8px !important;
  margin: 0 !important;
}
.client-panel__pagination .left-arrow i,
.client-panel__pagination .right-arrow i {
  margin: 0 !important;
}

.modal__close-btn {
  width: 58px !important;
  height: 47px !important;
  margin-top: 35px !important;
  margin-right: -23px !important;
  border-radius: 0 10px 10px 0 !important;
  opacity: 1 !important;
  background-color: #ac0000;
  color: #ffffff !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
}
.modal__close-btn svg {
  fill: #ffffff !important;
}
.modal__header-btn {
  position: absolute !important;
  top: 35px !important;
  right: 15px !important;
  width: 47px !important;
  height: 47px !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal__header-btn svg {
  fill: #d9000d !important;
}

.previewModal .content {
  max-height: calc(100vh - 215px);
  overflow-y: auto;
}
.previewModal #previewPdf {
  height: calc(100vh - 260px);
  width: 100%;
  overflow-y: auto;
}

.drag-handle {
  cursor: ns-resize;
}

.weekend-bg {
  background-color: #fff5ee;
}

.today-bg {
  background-color: #edf9f8;
}

.collapsible-extra {
  overflow: hidden;
  transition: max-height 300ms ease;
  margin-top: 7px;
}

.calendar-row > div:not(:first-child) {
  border-left: 1px solid #e0e0e0 !important;
}

.calendar-item-dot {
  width: 15px;
  min-width: 15px;
  height: 15px;
  min-height: 15px;
  border-radius: 15px;
  background-color: #74ec6f;
}
.calendar-item-dot.empty {
  background-color: #ffffff;
}
.calendar-item-dot.low {
  background-color: #c3edc1;
}
.calendar-item-dot.medium {
  background-color: #f9c270;
}
.calendar-item-dot.high {
  background-color: #fb6969;
}
.calendar-item-dot.normal {
  background-color: #74ec6f;
}

.calendar-toggle-items-btn {
  font-size: 11px;
  width: 100%;
  text-align: right;
  background: none;
  border: 0;
  border-top: solid 1px #e0e0e0;
  color: #007bff;
  cursor: pointer;
  padding: 6px 0 0 0;
}

.calendar-toggle-items-btn:hover {
  text-decoration: underline;
}

.primary.button {
  border-radius: 4px !important;
}

.breadcrumb {
  list-style: none;
  display: flex;
  gap: 5px;
  font-size: 16px;
}

.breadcrumb li::after {
  content: "/";
  margin-left: 5px;
}

.breadcrumb li:last-child::after {
  content: "";
}

.empty-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.empty-table__icon svg {
  height: 65px;
  width: auto;
}
.empty-table__text {
  color: #707070;
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
}
.empty-table__btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
  gap: 15px;
  background-color: transparent;
  border: 0;
  font-size: 12px;
  font-weight: bold;
  color: #003a85;
}
.empty-table__btn svg {
  width: 24px;
  height: 24px;
}
.empty-table__btn:hover {
  color: #1e70bf;
}
.empty-table__btn:hover svg path {
  fill: #1e70bf;
}

.twofa {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 200px;
}
.twofa .segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 500px;
  padding-bottom: 50px;
}
.twofa__button {
  position: absolute;
  bottom: -68px;
  min-width: 180px;
  left: 50%;
  transform: translateX(-50%);
}
.twofa__link-button {
  background-color: transparent !important;
  padding: 0 !important;
  color: #003a85 !important;
}
.twofa__link-button:hover {
  color: #1e70bf !important;
}

.actions {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}
.actions .icon.button {
  width: 39px;
  height: 36px;
}

.segment__full {
  min-width: 1100px !important;
  overflow-x: auto;
}

.google-wallet-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}

.info-icon {
  padding: 0 5px;
}

.icon.button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 39px;
  max-height: 36px;
}

.icon.button.max-200 {
  max-width: 200px;
  gap: 5px;
}

.icon.button.max-150 {
  max-width: 150px;
  gap: 5px;
}

.icon.button.max-300 {
  max-width: 300px;
  gap: 5px;
}

.client-insurance {
  background-color: #e4f7ff;
}

.hidden {
  display: none !important;
}

.current {
  background: rgba(0, 0, 0, 0.05) !important;
  color: rgba(0, 0, 0, 0.95) !important;
}

.ui.dropdown .menu .item.client-added {
  background-color: #e6f0ff !important;
}

#calendar-layout {
  display: flex;
  gap: 20px;
}

.day-sidepanel {
  display: none;
  width: 430px;
  min-width: 430px;
  max-height: 1220px;
  overflow-y: auto;
  background: #ffe5e5;
  border-left: 2px solid #ff7777;
}

/* Widok z panelem */
#calendar-layout.with-side #calendar-column {
  flex: 1 1 auto;
}

#calendar-layout.with-side .day-sidepanel {
  display: block;
}

/* Podświetlenie wybranego dnia */
.day-tile.is-selected {
  outline: 2px solid #4183c4;
  position: relative;
  z-index: 1;
}

/* Ułatwienie: kafelek klikalny na całej powierzchni */
.day-tile {
  cursor: pointer;
  min-height: 205px;
  padding: 56px 14px 28px !important;
  padding: 45px 14px 10px !important;
}

/* Kontener na listę pozycji w panelu */
#sidepanel-content .item {
  display: inline-flex;
  margin: 2px 4px 4px 0;
}

.calendar-side-bar-insurance-card {
  background-color: #f9f9f9;
  border: solid 1px #f0f0f0;
  border-radius: 5px;
  padding: 5px 7px;
  width: 50%;
  margin: 0;
}

.lightpick {
  z-index: 4000 !important;
}

.ui.table thead,
.ui.table thead th {
  overflow: visible !important;
}

.date-range-field {
  min-width: 205px;
  max-width: 210px;
  margin-bottom: 0;
  margin-top: 5px !important;
}
.date-range-field input {
  padding: 8px 8px 8px 35px !important;
  background-color: #ebf4ff !important;
  border: 0 !important;
}

.note-card {
  background-color: #fff;
  border: 1px solid #e0e1e2;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 12px !important;
}
.note-card__date {
  color: #757576;
  margin-left: 10px;
  font-weight: 700 !important;
}
.note-card .content {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.note-card__left {
  width: 60%;
}
.note-card__right {
  min-width: 165px;
}
.note-card__calendar-btn {
  padding: 4px 6px;
  background-color: #e9e9e9;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
}
.note-card__calendar-btn:hover {
  background-color: #cacbcd;
}
.note-card__calendar-btn--text {
  font-size: 10px;
  line-height: 10px;
  font-weight: 700 !important;
  color: black;
  text-align: start;
}

.apk-details-client {
  background-color: #f6f6f6;
  padding: 8px 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
}
.apk-details-client__item {
  width: 25%;
  border-right: solid 1px #dededf;
  font-size: 13px;
  padding: 0 8px;
}
.apk-details-client__item:last-child {
  border-right: 0;
}
.apk-details-client__item--title {
  margin: 0;
  font-weight: 800;
  color: #003a85;
}
.apk-details-client__item--value {
  margin: 8px 0 0 0;
}

.apk-section-header td {
  border-bottom: none !important;
}

.apk-insurance-badge {
  font-size: 12px !important;
  margin-left: 10px;
}

.apk-subsection-row {
  font-size: 12px !important;
}
.apk-subsection-row td {
  vertical-align: top !important;
  border-top: none !important;
}
.apk-subsection-row td .apk-question {
  padding-left: 20px;
  font-weight: 700;
}

#topBar {
  display: flex !important;
  flex-direction: row;
  align-items: stretch;
  padding: 20px 0 0 0;
}
#topBar .topbar-logo {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  padding-right: 10px;
  flex-shrink: 0;
}
#topBar .topbar-logo img {
  width: 160px;
  display: block;
}
#topBar .topbar-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
#topBar .topbar-main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  min-height: 46px;
  border-bottom: 1px solid #e0e0e0;
}
#topBar .floating.ui.label {
  font-size: 9px !important;
  padding: 2px 5px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  line-height: 1.2 !important;
}
#topBar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 22px;
  height: 100%;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.87);
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  border-bottom: 3px solid transparent;
  transition: color 0.15s;
}
#topBar .topbar-item i.icon {
  margin: 0 !important;
  font-size: 16px;
}
#topBar .topbar-item:hover {
  color: #2185d0;
}
#topBar .topbar-item.active {
  color: #2185d0;
  font-weight: 600;
}
#topBar .topbar-right-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
}
#topBar .topbar-user {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7) !important;
}
#topBar #subNav {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#topBar .sub-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  margin: 0 5px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  cursor: pointer;
}
#topBar .sub-nav-item i.icon {
  font-size: 0.85em;
  margin: 0 !important;
}
#topBar .sub-nav-item:hover {
  color: #2185d0;
  border-bottom-color: #c0d8f0;
}
#topBar .sub-nav-item.active {
  color: #2185d0;
  border-bottom-color: #2185d0;
  font-weight: 600;
}
#topBar .sub-nav-item.open-empty-cancel-insurance {
  color: #db2828;
}
#topBar .sub-nav-item.open-empty-cancel-insurance:hover {
  color: #a00;
  border-bottom-color: #db2828;
}
@media screen and (max-width: 1023px) {
  #topBar .topbar-logo img {
    width: 43px;
    overflow: hidden;
  }
  #topBar .topbar-main-nav .topbar-item:not(.topbar-logout) {
    display: none;
  }
  #topBar #subNav {
    display: none;
  }
}

/* Fix loading spinner appearing on APK and print buttons */
.showAjaxModal.loading,
.printTarget.loading,
.showAjaxModal.loading::before,
.printTarget.loading::before,
.showAjaxModal.loading::after,
.printTarget.loading::after {
  content: none !important;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #646464;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  user-select: none;
  border: none;
  outline: none;
}
.nav-arrow:hover {
  background-color: #575757;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.draft-table tr.draft-row-odd:not(.existing-polisy):not(.existing-policy-details) {
  background-color: rgba(247, 247, 247, 0.9450980392);
}
.draft-table tr.draft-row-even:not(.existing-polisy):not(.existing-policy-details) {
  background-color: #ffffff;
}
.draft-table .edit-draft-row.draft-row-odd {
  background-color: rgba(247, 247, 247, 0.9450980392) !important;
}
.draft-table .edit-draft-row.draft-row-even {
  background-color: #ffffff !important;
}
.draft-table .existing-polisy {
  background-color: rgba(255, 0, 25, 0.1);
}
.draft-table tr.draft-renewal-conflict-resolved {
  background-color: transparent !important;
}
.draft-table tr.draft-renewal-conflict-resolved.draft-row-odd {
  background-color: rgba(247, 247, 247, 0.9450980392) !important;
}
.draft-table tr.draft-renewal-conflict-resolved.draft-row-even {
  background-color: #ffffff !important;
}
.draft-table .existing-policy-details:not(.untoggled-draft) {
  background-color: transparent !important;
}
.draft-table .existing-policy-details:not(.untoggled-draft) td:nth-child(n+3) {
  background-color: rgba(255, 0, 25, 0.18);
}
.draft-table .existing-policy-details:not(.untoggled-draft) td:nth-child(1),
.draft-table .existing-policy-details:not(.untoggled-draft) td:nth-child(2) {
  border-top: none;
  background-color: rgba(255, 0, 25, 0.1);
}
.draft-table td {
  vertical-align: top;
}
.draft-table .data-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.draft-table .data-row__text.short {
  width: 85px;
  min-width: 85px;
}
.draft-table .data-row__text.long {
  width: 100px;
  min-width: 100px;
}
.draft-table .icon.button {
  min-height: 34px;
  min-width: 34px;
}
.draft-table tr.untoggled-draft td > .details {
  display: none !important;
}
.draft-table tr.expanded-draft td {
  padding-top: 18px !important;
}
.draft-table .draft-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
.draft-table .edit-draft-row {
  background: #fff !important;
}
.draft-table .edit-draft-row.has-existing-policy {
  background: rgba(255, 0, 25, 0.1) !important;
}
.draft-table .edit-draft-row .field {
  margin-bottom: 0 !important;
}
.draft-table .edit-draft-row .field label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
  background: transparent;
}
.draft-table .edit-draft-row .field input,
.draft-table .edit-draft-row .field select {
  font-size: 13px;
  padding: 8px 10px;
}
.draft-table .edit-draft-row .field.error input,
.draft-table .edit-draft-row .field.error select {
  border-color: #db2828 !important;
  background-color: #fff6f6 !important;
}
.draft-table .edit-draft-row .two.fields {
  margin: 0 !important;
}
.draft-table .edit-draft-row .two.fields .field {
  padding: 0 !important;
  margin: 0 5px 0 0 !important;
}
.draft-table .edit-draft-row .two.fields .field:last-child {
  margin-right: 0 !important;
}
.draft-table .edit-draft-row .cancel-edit-btn,
.draft-table .edit-draft-row .save-inline-edit-btn {
  width: 100%;
  margin: 0 !important;
}
.draft-table .form.alwis .field {
  width: 100%;
  max-width: 300px !important;
}
.draft-table .form.alwis .two.fields .field {
  width: calc(50% - 5px);
  max-width: 150px !important;
}

.import-file-container {
  width: 100%;
  max-width: 1620px;
}

.import-file-dropdown {
  width: 58%;
}
.import-file-dropdown .top.attached.tabular.menu {
  border: 0;
}
.import-file-dropdown .top.attached.tabular.menu a.item {
  background-color: #e0e1e2;
  border-radius: 5px 5px 0px 0px;
  border: 0;
  width: 50%;
}
.import-file-dropdown .top.attached.tabular.menu a.item.active {
  background-color: white;
}
.import-file-dropdown .drop-zone {
  background-color: #ebf4ff;
  border: 2px dashed #d0d0d0;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 15px;
}
.import-file-dropdown .drop-zone.dragover {
  border-color: #2185d0;
  background: #eef7ff;
}
.import-file-dropdown .file-item {
  padding: 6px;
  background: #f0f0f0;
  border-radius: 4px;
  margin-bottom: 5px;
}
.import-file-dropdown .remove-file {
  cursor: pointer;
  color: #28db4f;
  float: right;
}
.import-file-dropdown .remove-policy {
  cursor: pointer;
  color: #2867db;
}
.import-file-dropdown .attached.segment {
  border: 0;
}
.import-file-dropdown #current-files-box #current-file-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 15px;
}

.file-item-with-thumb-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  max-width: 120px;
  position: relative;
}
.file-item-with-thumb-preview .file-thumbnail-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
}
.file-item-with-thumb-preview .file-name {
  font-size: 11px;
  text-align: center;
  word-break: break-all;
  max-width: 100px;
  line-height: 1.3;
  color: #333;
}
.file-item-with-thumb-preview .file-remove-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  opacity: 0.8;
  background-color: #f9f9f9;
  border-radius: 50%;
  color: #d9000d;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-item-with-thumb-preview .file-remove-btn:hover {
  background-color: #fff;
  color: #ff3333;
}

.file-item-with-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.file-item-with-thumb:last-child {
  margin-bottom: 0;
}
.file-item-with-thumb .file-thumbnail {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}
.file-item-with-thumb span {
  font-size: 13px;
  word-break: break-all;
}

.import-file-list {
  width: 40%;
}

.draft-loading-status {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  background-color: red;
  border-radius: 10px;
  background-color: rgba(33, 186, 69, 0.1294117647);
  padding: 20px;
}
.ajaxRemovable {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.ui.message.info {
  padding: 50px;
}

.client-panel .notification-section.disabled-section {
  opacity: 0.6;
  pointer-events: none;
  background-color: #f5f5f5;
}

.client-panel .notification-section.disabled-section * {
  cursor: not-allowed !important;
}

.client-panel__email-warning {
  border: 2px solid #ac0000;
  border-radius: 10px;
  background-color: #fff5f5;
  padding: 15px 20px;
}

.sms {
  --primary-blue: #003a85;
  --secondary-blue: #38baec;
  --purple: #9332e9;
  --gray: #8d8d8d;
}
.sms .ui.primary.button {
  font-size: 18px;
  padding: 15px;
}
.sms .title {
  color: var(--primary-blue);
  font-size: 36px;
  font-weight: 800;
}
.sms .description {
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}
.sms .register-container {
  max-width: 510px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  height: calc(100vh - 216px);
}
.sms .register-container .title {
  margin-bottom: 30px;
}
.sms .register-container .description {
  margin-bottom: 30px;
}
.sms .register-container .ui.primary.button {
  min-width: 235px;
  margin-top: 100px;
}
.sms .packages-container {
  max-width: 1065px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  min-height: calc(100vh - 216px);
}
.sms .packages-container .title {
  margin-bottom: 26px;
  margin-top: 30px;
}
.sms .packages-container .subtitle {
  color: var(--primary-blue);
  opacity: 0.6;
  font-size: 24px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 0;
}
.sms .packages-container .description {
  max-width: 700px;
}
.sms .packages-container .cards {
  width: 100%;
  margin-top: 150px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 45px;
  row-gap: 100px;
}
.sms .packages-container .card {
  width: 295px;
  max-width: 295px;
  height: 350px;
  padding: 18px 15px;
  padding-top: 80px;
  box-shadow: 0px 3px 28px rgba(0, 0, 0, 0.1607843137);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  position: relative;
}
.sms .packages-container .card__svg {
  margin-top: -60px;
  margin-bottom: 40px;
  position: absolute;
  top: 15px;
}
.sms .packages-container .card__title {
  font-size: 17px;
  line-height: 19px;
  font-weight: 900;
  color: var(--secondary-blue);
  text-align: center;
}
.sms .packages-container .card__credits {
  margin-top: 8px;
  font-size: 32px;
  line-height: 34px;
  font-weight: 900;
  color: var(--primary-blue);
  text-align: center;
}
.sms .packages-container .card__credits--descritpion {
  font-size: 18px;
  line-height: 2-px;
  font-weight: 500;
  text-align: center;
  color: var(--gray);
}
.sms .packages-container .card .description {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sms .packages-container .card .bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 15px;
  margin-top: auto;
  margin-left: 20px;
  width: 100%;
  margin-right: -60px;
}
.sms .packages-container .card .bottom__price {
  font-size: 22px;
  line-height: 22px;
  color: var(--secondary-blue);
  font-weight: 800;
}
.sms .packages-container .card .bottom__price--description {
  font-size: 16px;
  line-height: 16px;
  color: var(--gray);
}
.sms .packages-container .card .bottom .buy-package-btn {
  min-width: 160px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
}
.sms .packages-container .card.promoted {
  margin-top: -40px;
  background-color: #1d0333;
}
.sms .packages-container .card.promoted .card__svg {
  top: 25px;
}
.sms .packages-container .card.promoted .card__svg--start {
  top: 72px;
  right: 13px;
}
.sms .packages-container .card.promoted .card__svg--most-chosen {
  top: 0;
  right: -53px;
}
.sms .packages-container .card.promoted .card__title {
  color: white;
}
.sms .packages-container .card.promoted .card__credits {
  color: #9332e9;
}
.sms .packages-container .card.promoted .description {
  color: white;
}
.sms .packages-container .card.promoted .bottom__price {
  color: white;
}
.sms .packages-container .card.promoted .bottom .buy-package-btn {
  background-color: var(--secondary-blue);
}
.sms .check-choice-container {
  max-width: 1065px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  min-height: calc(100vh - 216px);
}
.sms .check-choice-container .title {
  margin-top: 80px;
  margin-bottom: 0;
}
.sms .check-choice-container #packageCard {
  justify-content: center;
  margin-top: 100px;
}
.sms .check-choice-container .card {
  width: 470px;
  max-width: 470px;
  height: auto;
  padding: 18px 20px;
  padding-top: 80px;
  box-shadow: 0px 3px 28px rgba(0, 0, 0, 0.1607843137);
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  margin: 0 !important;
  position: relative;
}
.sms .check-choice-container .card__svg {
  margin-top: -60px;
  margin-bottom: 40px;
  position: absolute;
  top: -10px;
  transform: scale(1.6);
  transform-origin: center top;
}
.sms .check-choice-container .card__title {
  font-size: 36px;
  line-height: 38px;
  font-weight: 900;
  color: var(--secondary-blue);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.sms .check-choice-container .card__title::before, .sms .check-choice-container .card__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--primary-blue);
}
.sms .check-choice-container .card__credits {
  margin-top: 8px;
  font-size: 32px;
  line-height: 34px;
  font-weight: 900;
  color: var(--purple);
  text-align: center;
}
.sms .check-choice-container .card__credits--descritpion {
  font-size: 18px;
  line-height: 2-px;
  font-weight: 500;
  text-align: center;
  color: var(--gray);
}
.sms .check-choice-container .card__price {
  font-size: 22px;
  line-height: 22px;
  color: var(--secondary-blue);
  font-weight: 800;
}
.sms .check-choice-container .card__price--description {
  font-size: 16px;
  line-height: 16px;
}
.sms .check-choice-container .card__price--label {
  margin-top: 3px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 800;
  margin-right: 12px;
}
.sms .check-choice-container .card .description {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--gray);
}
.sms .check-choice-container .card__confirm-label {
  font-size: 16px;
  line-height: 18px;
  font-weight: 700;
  margin-top: 50px;
}
.sms .check-choice-container .card .buy-package-btn {
  min-width: 160px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  background-color: var(--secondary-blue);
  color: white;
  margin-top: 23px;
  margin-bottom: -43px;
}
.sms .check-choice-container .card.promoted {
  margin-top: -40px;
}
.sms .check-choice-container .card.promoted .card__svg {
  top: 0px;
}
.sms .check-choice-container .card.promoted .card__svg--start {
  top: 75px;
  right: 18px;
  transform: scale(1);
}
.sms .check-choice-container .card.promoted .card__svg--most-chosen {
  top: 31px;
  right: -75px;
  transform: scale(1);
}
.sms .check-choice-container .backBtn {
  margin-top: 40px;
  padding: 9px 12px;
  font-size: 16px;
}
.sms .check-choice-container #actionButtons .ui.button {
  min-width: 200px;
  font-size: 16px;
  padding: 14px 28px;
}
.sms .check-choice-container #actionButtons .ui.primary.button {
  min-width: 280px;
}

.sms.sms-dashboard .dashboard-container,
.sms.sms-history .dashboard-container,
.sms.sms-send .dashboard-container {
  width: 100%;
  min-height: calc(100vh - 216px);
}
.sms.sms-dashboard .dashboard-container > .title,
.sms.sms-history .dashboard-container > .title,
.sms.sms-send .dashboard-container > .title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 17px;
}
.sms.sms-dashboard .dashboard-container .filter-btn,
.sms.sms-history .dashboard-container .filter-btn,
.sms.sms-send .dashboard-container .filter-btn {
  padding: 6px 8px;
}
.sms.sms-dashboard .dashboard-card,
.sms.sms-history .dashboard-card,
.sms.sms-send .dashboard-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  box-sizing: border-box;
  overflow-y: auto;
}
.sms.sms-dashboard .dashboard-layout,
.sms.sms-history .dashboard-layout,
.sms.sms-send .dashboard-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
@media (max-width: 900px) {
  .sms.sms-dashboard .dashboard-layout,
  .sms.sms-history .dashboard-layout,
  .sms.sms-send .dashboard-layout {
    flex-direction: column;
  }
}
.sms.sms-dashboard .dashboard-col-left,
.sms.sms-history .dashboard-col-left,
.sms.sms-send .dashboard-col-left {
  max-width: 776px;
  width: 45%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 900px) {
  .sms.sms-dashboard .dashboard-col-left,
  .sms.sms-history .dashboard-col-left,
  .sms.sms-send .dashboard-col-left {
    width: 100%;
  }
}
.sms.sms-dashboard .dashboard-col-right,
.sms.sms-history .dashboard-col-right,
.sms.sms-send .dashboard-col-right {
  flex: 1;
  width: 55%;
  max-width: 1000px;
  min-width: 0;
}
.sms.sms-dashboard .dashboard-packages .color-orange,
.sms.sms-history .dashboard-packages .color-orange,
.sms.sms-send .dashboard-packages .color-orange {
  color: #fbb769;
}
.sms.sms-dashboard .dashboard-packages .color-green,
.sms.sms-history .dashboard-packages .color-green,
.sms.sms-send .dashboard-packages .color-green {
  color: #21ba45;
}
.sms.sms-dashboard .dashboard-packages .color-gray,
.sms.sms-history .dashboard-packages .color-gray,
.sms.sms-send .dashboard-packages .color-gray {
  color: #616161;
}
.sms.sms-dashboard .dashboard-packages__header,
.sms.sms-history .dashboard-packages__header,
.sms.sms-send .dashboard-packages__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sms.sms-dashboard .dashboard-packages__heading,
.sms.sms-history .dashboard-packages__heading,
.sms.sms-send .dashboard-packages__heading {
  font-size: 20px;
  font-weight: 800;
}
.sms.sms-dashboard .dashboard-packages__header-spacer,
.sms.sms-history .dashboard-packages__header-spacer,
.sms.sms-send .dashboard-packages__header-spacer {
  flex: 1;
}
.sms.sms-dashboard .dashboard-packages__action,
.sms.sms-history .dashboard-packages__action,
.sms.sms-send .dashboard-packages__action {
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.sms.sms-dashboard .dashboard-packages__action label,
.sms.sms-history .dashboard-packages__action label,
.sms.sms-send .dashboard-packages__action label {
  color: var(--primary-blue);
  cursor: pointer;
}
.sms.sms-dashboard .dashboard-packages__action svg path,
.sms.sms-history .dashboard-packages__action svg path,
.sms.sms-send .dashboard-packages__action svg path {
  fill: var(--primary-blue);
}
.sms.sms-dashboard .dashboard-packages__action:hover,
.sms.sms-history .dashboard-packages__action:hover,
.sms.sms-send .dashboard-packages__action:hover {
  opacity: 0.75;
}
.sms.sms-dashboard .dashboard-packages__col-labels,
.sms.sms-history .dashboard-packages__col-labels,
.sms.sms-send .dashboard-packages__col-labels {
  margin-top: 30px;
  margin-bottom: 0 !important;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 150px 1fr 155px 110px;
  gap: 15px;
  padding: 0 4px 6px;
  margin-bottom: 4px;
}
.sms.sms-dashboard .dashboard-packages__col-label,
.sms.sms-history .dashboard-packages__col-label,
.sms.sms-send .dashboard-packages__col-label {
  font-size: 12px;
  font-weight: 600;
}
.sms.sms-dashboard .dashboard-packages__col-label.opacyty-35,
.sms.sms-history .dashboard-packages__col-label.opacyty-35,
.sms.sms-send .dashboard-packages__col-label.opacyty-35 {
  opacity: 0.35;
}
.sms.sms-dashboard .dashboard-packages__row,
.sms.sms-history .dashboard-packages__row,
.sms.sms-send .dashboard-packages__row {
  display: grid;
  grid-template-columns: 180px 1fr 155px 110px;
  gap: 15px;
  align-items: center;
  padding: 8px 0;
}
.sms.sms-dashboard .dashboard-packages__row:last-child,
.sms.sms-history .dashboard-packages__row:last-child,
.sms.sms-send .dashboard-packages__row:last-child {
  border-bottom: none;
}
.sms.sms-dashboard .dashboard-packages__name,
.sms.sms-history .dashboard-packages__name,
.sms.sms-send .dashboard-packages__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary-blue);
}
.sms.sms-dashboard .dashboard-packages__credits,
.sms.sms-history .dashboard-packages__credits,
.sms.sms-send .dashboard-packages__credits {
  font-size: 13px;
  font-weight: 400;
  color: #333;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}
.sms.sms-dashboard .dashboard-packages__credits--remaining,
.sms.sms-history .dashboard-packages__credits--remaining,
.sms.sms-send .dashboard-packages__credits--remaining {
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-blue);
}
.sms.sms-dashboard .dashboard-packages__credits-total,
.sms.sms-history .dashboard-packages__credits-total,
.sms.sms-send .dashboard-packages__credits-total {
  color: var(--gray);
  font-size: 12px;
}
.sms.sms-dashboard .dashboard-packages__badge,
.sms.sms-history .dashboard-packages__badge,
.sms.sms-send .dashboard-packages__badge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  text-align: center;
  margin-left: auto;
}
.sms.sms-dashboard .dashboard-packages__badge--active,
.sms.sms-history .dashboard-packages__badge--active,
.sms.sms-send .dashboard-packages__badge--active {
  background: #21ba45;
  color: white;
}
.sms.sms-dashboard .dashboard-packages__badge--partial,
.sms.sms-history .dashboard-packages__badge--partial,
.sms.sms-send .dashboard-packages__badge--partial {
  background: #fbb769;
  color: white;
}
.sms.sms-dashboard .dashboard-packages__badge--expired,
.sms.sms-history .dashboard-packages__badge--expired,
.sms.sms-send .dashboard-packages__badge--expired {
  background: #616161;
  color: white;
}
.sms.sms-dashboard .dashboard-packages__date,
.sms.sms-history .dashboard-packages__date,
.sms.sms-send .dashboard-packages__date {
  font-size: 12px;
  color: #555;
}
.sms.sms-dashboard .dashboard-packages__empty, .sms.sms-dashboard .dashboard-packages__error,
.sms.sms-history .dashboard-packages__empty,
.sms.sms-history .dashboard-packages__error,
.sms.sms-send .dashboard-packages__empty,
.sms.sms-send .dashboard-packages__error {
  font-size: 13px;
  color: var(--gray);
  padding: 10px 0;
  text-align: center;
}
.sms.sms-dashboard .dashboard-packages__error,
.sms.sms-history .dashboard-packages__error,
.sms.sms-send .dashboard-packages__error {
  color: #c0392b;
}
.sms.sms-dashboard .dashboard-send__title,
.sms.sms-history .dashboard-send__title,
.sms.sms-send .dashboard-send__title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}
.sms.sms-dashboard .dashboard-send__label,
.sms.sms-history .dashboard-send__label,
.sms.sms-send .dashboard-send__label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  display: block;
}
.sms.sms-dashboard .dashboard-send__required,
.sms.sms-history .dashboard-send__required,
.sms.sms-send .dashboard-send__required {
  color: #db2828;
}
.sms.sms-dashboard .dashboard-send__recipients,
.sms.sms-history .dashboard-send__recipients,
.sms.sms-send .dashboard-send__recipients {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sms.sms-dashboard .dashboard-send__all-checkbox label,
.sms.sms-history .dashboard-send__all-checkbox label,
.sms.sms-send .dashboard-send__all-checkbox label {
  font-size: 13px !important;
  color: #555 !important;
}
.sms.sms-dashboard .dashboard-send__manual-field,
.sms.sms-history .dashboard-send__manual-field,
.sms.sms-send .dashboard-send__manual-field {
  margin-top: 4px;
}
.sms.sms-dashboard .dashboard-send__info-icon,
.sms.sms-history .dashboard-send__info-icon,
.sms.sms-send .dashboard-send__info-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
  cursor: pointer;
}
.sms.sms-dashboard .dashboard-send__info-icon svg,
.sms.sms-history .dashboard-send__info-icon svg,
.sms.sms-send .dashboard-send__info-icon svg {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}
.sms.sms-dashboard .dashboard-send__info-icon:hover svg,
.sms.sms-history .dashboard-send__info-icon:hover svg,
.sms.sms-send .dashboard-send__info-icon:hover svg {
  opacity: 0.85;
}
.sms.sms-dashboard .dashboard-send__btn,
.sms.sms-history .dashboard-send__btn,
.sms.sms-send .dashboard-send__btn {
  margin-top: 10px;
  width: 155px;
  font-size: 14px !important;
  line-height: 18px;
  padding: 10px 20px !important;
  background-color: var(--primary-blue);
  color: white;
}
.sms.sms-dashboard .dashboard-send__btn:hover,
.sms.sms-history .dashboard-send__btn:hover,
.sms.sms-send .dashboard-send__btn:hover {
  background-color: #002f6e;
}
.sms.sms-dashboard .dashboard-messages,
.sms.sms-history .dashboard-messages,
.sms.sms-send .dashboard-messages {
  height: 100%;
  width: 100%;
  flex-grow: 1;
}
.sms.sms-dashboard .dashboard-messages__header,
.sms.sms-history .dashboard-messages__header,
.sms.sms-send .dashboard-messages__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.sms.sms-dashboard .dashboard-messages__heading,
.sms.sms-history .dashboard-messages__heading,
.sms.sms-send .dashboard-messages__heading {
  font-size: 20px;
  font-weight: 800;
}
.sms.sms-dashboard .dashboard-messages__table,
.sms.sms-history .dashboard-messages__table,
.sms.sms-send .dashboard-messages__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;
}
.sms.sms-dashboard .dashboard-messages__row:hover td,
.sms.sms-history .dashboard-messages__row:hover td,
.sms.sms-send .dashboard-messages__row:hover td {
  background: #fafbfc;
}
.sms.sms-dashboard .dashboard-messages__row td,
.sms.sms-history .dashboard-messages__row td,
.sms.sms-send .dashboard-messages__row td {
  border-bottom: 1px solid #eeeff2;
}
.sms.sms-dashboard .dashboard-messages__row:last-child td,
.sms.sms-history .dashboard-messages__row:last-child td,
.sms.sms-send .dashboard-messages__row:last-child td {
  border-bottom: none;
}
.sms.sms-dashboard .dashboard-messages__cell-main,
.sms.sms-history .dashboard-messages__cell-main,
.sms.sms-send .dashboard-messages__cell-main {
  padding: 10px 6px;
  width: 100%;
}
.sms.sms-dashboard .dashboard-messages__recipient,
.sms.sms-history .dashboard-messages__recipient,
.sms.sms-send .dashboard-messages__recipient {
  font-size: 14px;
  font-weight: 700;
  color: #003a85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 600px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sms.sms-dashboard .dashboard-messages__status,
.sms.sms-history .dashboard-messages__status,
.sms.sms-send .dashboard-messages__status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.sms.sms-dashboard .dashboard-messages__status.status-success,
.sms.sms-history .dashboard-messages__status.status-success,
.sms.sms-send .dashboard-messages__status.status-success {
  background-color: #d4edda;
  color: #155724;
}
.sms.sms-dashboard .dashboard-messages__status.status-failed,
.sms.sms-history .dashboard-messages__status.status-failed,
.sms.sms-send .dashboard-messages__status.status-failed {
  background-color: #f8d7da;
  color: #721c24;
}
.sms.sms-dashboard .dashboard-messages__status.status-pending,
.sms.sms-history .dashboard-messages__status.status-pending,
.sms.sms-send .dashboard-messages__status.status-pending {
  background-color: #fff3cd;
  color: #856404;
}
.sms.sms-dashboard .dashboard-messages__status.status-cancelled,
.sms.sms-history .dashboard-messages__status.status-cancelled,
.sms.sms-send .dashboard-messages__status.status-cancelled {
  background-color: #e2e3e5;
  color: #383d41;
}
.sms.sms-dashboard .dashboard-messages__status.status-default,
.sms.sms-history .dashboard-messages__status.status-default,
.sms.sms-send .dashboard-messages__status.status-default {
  background-color: #e7f3ff;
  color: #004085;
}
.sms.sms-dashboard .dashboard-messages__content,
.sms.sms-history .dashboard-messages__content,
.sms.sms-send .dashboard-messages__content {
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 600px;
}
.sms.sms-dashboard .dashboard-messages__cell-status,
.sms.sms-history .dashboard-messages__cell-status,
.sms.sms-send .dashboard-messages__cell-status {
  padding: 10px 12px;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  border-left: 1px solid #e0e3ea;
}
.sms.sms-dashboard .dashboard-messages__cell-date,
.sms.sms-history .dashboard-messages__cell-date,
.sms.sms-send .dashboard-messages__cell-date {
  padding: 10px 6px;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
  white-space: nowrap;
  vertical-align: middle;
  border-left: 1px solid #e0e3ea;
  border-right: 1px solid #e0e3ea;
}
.sms.sms-dashboard .dashboard-messages__cell-eye,
.sms.sms-history .dashboard-messages__cell-eye,
.sms.sms-send .dashboard-messages__cell-eye {
  padding: 10px 12px;
  text-align: center;
  vertical-align: middle;
  color: #222;
  cursor: pointer;
  font-size: 16px;
  white-space: nowrap;
}
.sms.sms-dashboard .dashboard-messages__cell-eye:hover,
.sms.sms-history .dashboard-messages__cell-eye:hover,
.sms.sms-send .dashboard-messages__cell-eye:hover {
  color: var(--primary-blue);
}
.sms.sms-dashboard .dashboard-messages__empty, .sms.sms-dashboard .dashboard-messages__error,
.sms.sms-history .dashboard-messages__empty,
.sms.sms-history .dashboard-messages__error,
.sms.sms-send .dashboard-messages__empty,
.sms.sms-send .dashboard-messages__error {
  font-size: 13px;
  color: var(--gray);
  padding: 20px 0;
  text-align: center;
}
.sms.sms-dashboard .dashboard-messages__error,
.sms.sms-history .dashboard-messages__error,
.sms.sms-send .dashboard-messages__error {
  color: #c0392b;
}
.sms.sms-dashboard .ui.modal.payment-history-modal,
.sms.sms-history .ui.modal.payment-history-modal,
.sms.sms-send .ui.modal.payment-history-modal {
  max-width: 1000px !important;
  width: 1000px !important;
}
.sms.sms-dashboard .ui.modal.payment-history-modal > .header,
.sms.sms-history .ui.modal.payment-history-modal > .header,
.sms.sms-send .ui.modal.payment-history-modal > .header {
  font-size: 27px;
  font-weight: 800 !important;
  padding: 24px 28px !important;
  border-bottom: none !important;
}
.sms.sms-dashboard .ui.modal.payment-history-modal > .content,
.sms.sms-history .ui.modal.payment-history-modal > .content,
.sms.sms-send .ui.modal.payment-history-modal > .content {
  padding: 0 28px 28px !important;
}
.sms.sms-dashboard .ui.modal.payment-history-modal .paginator,
.sms.sms-history .ui.modal.payment-history-modal .paginator,
.sms.sms-send .ui.modal.payment-history-modal .paginator {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: flex-end;
  align-items: center;
}
.sms.sms-dashboard .payment-history-modal__table,
.sms.sms-history .payment-history-modal__table,
.sms.sms-send .payment-history-modal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}
.sms.sms-dashboard .payment-history-modal__table thead tr th,
.sms.sms-history .payment-history-modal__table thead tr th,
.sms.sms-send .payment-history-modal__table thead tr th {
  text-align: left;
  padding: 8px 0px 8px 20px;
  font-weight: 700;
  font-size: 14px;
  color: #003a85 !important;
  border-bottom: 1px solid #e0e3ea;
  white-space: nowrap;
  background: transparent !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}
.sms.sms-dashboard .payment-history-modal__table tbody tr,
.sms.sms-history .payment-history-modal__table tbody tr,
.sms.sms-send .payment-history-modal__table tbody tr {
  border-bottom: 1px solid #eeeff2 !important;
  border-top: none !important;
  background: transparent !important;
}
.sms.sms-dashboard .payment-history-modal__table tbody tr:last-child,
.sms.sms-history .payment-history-modal__table tbody tr:last-child,
.sms.sms-send .payment-history-modal__table tbody tr:last-child {
  border-bottom: none !important;
}
.sms.sms-dashboard .payment-history-modal__table tbody tr:hover,
.sms.sms-history .payment-history-modal__table tbody tr:hover,
.sms.sms-send .payment-history-modal__table tbody tr:hover {
  background: #f8f9fb !important;
}
.sms.sms-dashboard .payment-history-modal__table tbody tr td,
.sms.sms-history .payment-history-modal__table tbody tr td,
.sms.sms-send .payment-history-modal__table tbody tr td {
  padding: 8px 0px 8px 20px;
  vertical-align: middle;
  font-size: 14px;
  color: #333;
  border: none !important;
  border-bottom: 1px solid #eeeff2 !important;
}
.sms.sms-dashboard .payment-history-modal__table tbody tr:last-child td,
.sms.sms-history .payment-history-modal__table tbody tr:last-child td,
.sms.sms-send .payment-history-modal__table tbody tr:last-child td {
  border-bottom: none !important;
}
.sms.sms-dashboard .payment-history-modal__pkg,
.sms.sms-history .payment-history-modal__pkg,
.sms.sms-send .payment-history-modal__pkg {
  font-weight: 700;
  color: #1a1a2e;
}
.sms.sms-dashboard .payment-history-modal__status,
.sms.sms-history .payment-history-modal__status,
.sms.sms-send .payment-history-modal__status {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
}
.sms.sms-dashboard .payment-history-modal__status.status--paid,
.sms.sms-history .payment-history-modal__status.status--paid,
.sms.sms-send .payment-history-modal__status.status--paid {
  color: #21ba45;
}
.sms.sms-dashboard .payment-history-modal__status.status--cancelled,
.sms.sms-history .payment-history-modal__status.status--cancelled,
.sms.sms-send .payment-history-modal__status.status--cancelled {
  color: #ac0000;
}
.sms.sms-dashboard .payment-history-modal__status.status--pending,
.sms.sms-history .payment-history-modal__status.status--pending,
.sms.sms-send .payment-history-modal__status.status--pending {
  color: #e8a020;
}
.sms.sms-dashboard .payment-history-modal__amount,
.sms.sms-history .payment-history-modal__amount,
.sms.sms-send .payment-history-modal__amount {
  font-weight: 600;
  white-space: nowrap;
}
.sms.sms-dashboard .payment-history-modal__invoice,
.sms.sms-history .payment-history-modal__invoice,
.sms.sms-send .payment-history-modal__invoice {
  text-align: center;
}
.sms.sms-dashboard .payment-history-modal__invoice-btn,
.sms.sms-history .payment-history-modal__invoice-btn,
.sms.sms-send .payment-history-modal__invoice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #003a85;
  transition: color 0.15s;
}
.sms.sms-dashboard .payment-history-modal__invoice-btn:hover,
.sms.sms-history .payment-history-modal__invoice-btn:hover,
.sms.sms-send .payment-history-modal__invoice-btn:hover {
  color: #ac0000;
}
.sms.sms-dashboard .payment-history-modal__invoice-btn svg,
.sms.sms-history .payment-history-modal__invoice-btn svg,
.sms.sms-send .payment-history-modal__invoice-btn svg {
  display: block;
}
.sms.sms-dashboard .payment-history-modal__no-invoice,
.sms.sms-history .payment-history-modal__no-invoice,
.sms.sms-send .payment-history-modal__no-invoice {
  color: #aaa;
}

.sms.sms-summary .summary-container {
  max-width: 1200px;
  min-height: calc(100vh - 216px);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
}
.sms.sms-summary .summary-title {
  margin-top: 50px;
  margin-bottom: 30px;
  color: var(--primary-blue);
  font-size: 36px;
  font-weight: 800;
  text-align: center;
}
.sms.sms-summary .summary-card {
  width: 470px;
  background: white;
  border-radius: 12px;
  box-shadow: 0px 3px 28px rgba(0, 0, 0, 0.1607843137);
  padding: 27px 20px 20px 20px;
  display: flex;
  flex-direction: column;
}
.sms.sms-summary .summary-card__package-label {
  font-size: 12px;
  font-weight: 800;
}
.sms.sms-summary .summary-card__package-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
  margin-top: 5px;
  flex-wrap: wrap;
  width: 100%;
}
.sms.sms-summary .summary-card__name {
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary-blue);
}
.sms.sms-summary .summary-card__credits {
  font-size: 32px;
  font-weight: 800;
  color: var(--purple);
  margin-right: 5px;
}
.sms.sms-summary .summary-card__validity {
  font-size: 18px;
  font-weight: 500;
  color: var(--gray);
}
.sms.sms-summary .summary-card__hr {
  border: none;
  border-top: 1px solid var(--primary-blue);
  margin: 16px 0;
}
.sms.sms-summary .summary-card__price-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 170px;
}
.sms.sms-summary .summary-card__price-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.sms.sms-summary .summary-card__price-label {
  font-size: 12px;
  font-weight: 700;
}
.sms.sms-summary .summary-card__prices {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-end;
}
.sms.sms-summary .summary-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.sms.sms-summary .summary-card__price-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary-blue);
}
.sms.sms-summary .summary-card__price-value--netto {
  color: var(--secondary-blue);
  font-size: 16px;
}
.sms.sms-summary .summary-card__price-brutto {
  font-size: 12px;
  text-align: right;
  font-weight: 700;
}
.sms.sms-summary .summary-card__payment-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sms.sms-summary .summary-card__payment-label {
  font-size: 12px;
  font-weight: 700;
}
.sms.sms-summary .summary-card__payment-option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: default;
}
.sms.sms-summary .summary-card__payment-option input[type=radio] {
  width: 16px;
  height: 16px;
  accent-color: var(--secondary-blue);
  flex-shrink: 0;
}
.sms.sms-summary .summary-card__p24-logo {
  display: flex;
  align-items: center;
}
.sms.sms-summary .summary-card__p24-logo svg {
  height: 26px;
  width: auto;
}
.sms.sms-summary .summary-card__terms {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
  margin-bottom: 40px;
}
.sms.sms-summary .summary-card__terms input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: var(--secondary-blue);
  cursor: pointer;
  flex-shrink: 0;
}
.sms.sms-summary .summary-layout {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 12px;
  box-shadow: 0px 3px 28px rgba(0, 0, 0, 0.1607843137);
  padding: 27px 20px 20px 20px;
}
@media (max-width: 900px) {
  .sms.sms-summary .summary-layout {
    flex-direction: column;
    align-items: stretch;
  }
}
.sms.sms-summary .summary-layout__invoice {
  flex: 1;
  min-width: 0;
}
@media (max-width: 900px) {
  .sms.sms-summary .summary-layout__invoice {
    padding-right: 0;
    padding-bottom: 24px;
  }
}
.sms.sms-summary .summary-layout__divider {
  width: 1px;
  background-color: #e0e1e2;
  margin: 0 30px;
  flex-shrink: 0;
  margin-bottom: 27px;
}
@media (max-width: 900px) {
  .sms.sms-summary .summary-layout__divider {
    width: 100%;
    height: 1px;
    margin: 24px 0;
  }
}
.sms.sms-summary .summary-layout__card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  width: 455px;
}
.sms.sms-summary .summary-invoice-form {
  width: 455px;
}
.sms.sms-summary .summary-invoice-form__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-top: 0;
  margin-bottom: 20px;
}
.sms.sms-summary .summary-pay-btn {
  margin-top: -25px;
  margin-right: 0 !important;
  width: 175px;
  font-size: 18px;
  line-height: 20px;
  font-weight: 700;
  background-color: var(--secondary-blue);
  color: white;
}
.sms.sms-summary .summary-pay-btn:hover {
  background-color: #34a6d3;
}
.sms.sms-summary .summary-back-btn {
  margin-top: 15px;
  margin-right: 0 !important;
  min-width: 118px;
  font-size: 16px;
  padding: 9px 12px;
  border-radius: 5px;
}

.msg-detail-modal.ui.modal {
  border-radius: 14px !important;
  max-width: 1200px !important;
  width: auto !important;
}
@media only screen and (min-width: 1300px) {
  .msg-detail-modal.ui.modal {
    min-width: 1000px !important;
  }
}
@media only screen and (min-width: 1100px) and (max-width: 1299px) {
  .msg-detail-modal.ui.modal {
    min-width: 900px !important;
  }
}
@media only screen and (min-width: 1920px) {
  .msg-detail-modal.ui.modal {
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
  }
}
.msg-detail-modal.ui.modal > .header {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  border-bottom: none !important;
  padding: 24px 24px 0 !important;
}
.msg-detail-modal__content {
  padding: 16px 24px 24px !important;
  max-height: calc(100vh - 120px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.msg-detail-modal__toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.msg-detail-modal__topdate {
  font-size: 13px;
  color: #777;
  margin-left: 4px;
}
.msg-detail-modal__rows {
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.msg-detail-modal__row {
  display: table-row;
}
.msg-detail-modal__row:not(:last-child) > div {
  border-bottom: 1px solid #f0f0f0;
}
.msg-detail-modal__row-label {
  display: table-cell;
  font-size: 13px;
  color: #7b8aab;
  padding: 9px 16px 9px 0;
  white-space: nowrap;
  width: 120px;
}
.msg-detail-modal__row-value {
  display: table-cell;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  padding: 9px 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msg-detail-modal__content-box {
  background: #f7f8fc;
  border-radius: 8px;
  padding: 14px 16px;
}
.msg-detail-modal__content-label {
  font-size: 11px;
  font-weight: 700;
  color: #7b8aab;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.msg-detail-modal__recipients-table-wrap {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #e8eaf0;
  border-radius: 6px;
}
.msg-detail-modal__recipients-table-wrap table {
  margin: 0 !important;
}
.msg-detail-modal__message {
  font-size: 14px;
  color: #1a1a2e;
  line-height: 1.7;
  white-space: pre-wrap;
}

.dashboard-stats {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px 24px 16px;
  margin-bottom: 24px;
}
.dashboard-stats__tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media screen and (max-width: 900px) {
  .dashboard-stats__tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .dashboard-stats__tiles {
    grid-template-columns: 1fr;
  }
}
.dashboard-stats__tile {
  background: #f4f8fd;
  border: 1px solid #dce8f5;
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dashboard-stats__tile-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dashboard-stats__tile-value {
  font-size: 26px;
  font-weight: 700;
  color: #2185d0;
  line-height: 1;
}
.dashboard-stats__chart-wrap {
  margin-top: 4px;
}
.dashboard-stats__chart-switcher {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.dashboard-stats__chart-btn {
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.dashboard-stats__chart-btn:hover {
  background: #f0f5fb;
  border-color: #2185d0;
  color: #2185d0;
}
.dashboard-stats__chart-btn.active {
  background: #2185d0;
  border-color: #2185d0;
  color: #fff;
}
.dashboard-stats__chart-total {
  font-size: 13px;
  color: #555;
  margin-bottom: 8px;
}
.dashboard-stats__chart-total strong {
  color: #2185d0;
}
.dashboard-stats__error {
  color: #db2828;
  font-size: 13px;
  margin-top: 8px;
}

#packagesCreditsRows {
  max-height: 520px;
  overflow-y: auto;
}

.sms-packages-card {
  background: #fff;
  border-radius: 5px;
  padding: 20px 24px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  box-sizing: border-box;
  overflow-y: auto;
}
.sms-packages-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sms-packages-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}
.sms-packages-card__note {
  font-size: 12px;
  color: #aaa;
}
.sms-packages-card__empty, .sms-packages-card__error {
  font-size: 13px;
  color: #888;
  padding: 90px 0;
  text-align: center;
}
.sms-packages-card__error {
  color: #db2828;
}

.sms-pkg__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sms-pkg__badge--active {
  background: #2185d0;
  color: #fff;
}
.sms-pkg__badge--queued {
  background: #e8eaf0;
  color: #555;
}
.sms-pkg__badge--expired {
  background: #f5e0e0;
  color: #db2828;
}
.sms-pkg__badge--paid {
  background: #e4f5eb;
  color: #1a9e3f;
}
.sms-pkg__badge--failed {
  background: #fdecea;
  color: #db2828;
}
.sms-pkg__badge--pending {
  background: #fff4e0;
  color: #c47900;
}
.sms-pkg__badge--exhausted {
  background: #f0e8fb;
  color: #7b2eb8;
}

.sms-pkg {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  margin-bottom: 10px;
}
.sms-pkg:last-child {
  margin-bottom: 0;
}
.sms-pkg--active {
  border-color: #2185d0;
  background: rgba(33, 133, 208, 0.06);
}
.sms-pkg__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
  flex-wrap: wrap;
}
.sms-pkg__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sms-pkg__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.sms-pkg__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sms-pkg__badge--active {
  background: #2185d0;
  color: #fff;
}
.sms-pkg__badge--queued {
  background: #e8eaf0;
  color: #555;
}
.sms-pkg__badge--expired {
  background: #f5e0e0;
  color: #db2828;
}
.sms-pkg__name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
}
.sms-pkg__dates {
  font-size: 12px;
  color: #999;
}
.sms-pkg__credits {
  font-size: 15px;
  color: #555;
  white-space: nowrap;
}
.sms-pkg__credits strong {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}
.sms-pkg__bar-wrap {
  height: 8px;
  background: #f0f2f5;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}
.sms-pkg__bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s ease;
}
.sms-pkg__bar-fill--active {
  background: #2185d0;
}
.sms-pkg__bar-fill--queued {
  background: #b0b8c8;
}
.sms-pkg__bar-fill--expired {
  background: #e0a0a0;
}
.sms-pkg__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}
.sms-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sms-panel__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 4px;
}

.sms-panel__subtitle {
  font-size: 13px;
  color: #888;
  margin: 0;
}

.sms-panel__buy-btn {
  white-space: nowrap;
}

.sms-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
@media screen and (max-width: 1100px) {
  .sms-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .sms-tiles {
    grid-template-columns: 1fr;
  }
}

.sms-quick-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #e8eaf0;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s, border-color 0.15s;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
  cursor: pointer;
}
.sms-quick-tile:hover {
  background: #f4f8fd;
  border-color: #c5d9f5;
}
.sms-quick-tile--highlight {
  background: #e8f0fe;
  border-color: #c5d9f5;
}
.sms-quick-tile--highlight:hover {
  background: #d4e4fc;
}
.sms-quick-tile__icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.sms-quick-tile__icon i.icon {
  margin: 0 !important;
}
.sms-quick-tile__icon--blue {
  background: #2185d0;
  color: #fff;
}
.sms-quick-tile__icon--green {
  background: #21ba45;
  color: #fff;
}
.sms-quick-tile__icon--purple {
  background: #9332e9;
  color: #fff;
}
.sms-quick-tile__icon--orange {
  background: #f2711c;
  color: #fff;
}
.sms-quick-tile__icon--gray {
  background: #e8eaf0;
  color: #666;
}
.sms-quick-tile__body {
  flex: 1;
  min-width: 0;
}
.sms-quick-tile__name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sms-quick-tile__desc {
  font-size: 11px;
  color: #999;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sms-tile {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
}
.sms-tile--actions {
  justify-content: flex-start;
  gap: 0;
  padding: 8px 16px 14px 16px;
}
.sms-tile__header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sms-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.sms-tile__icon i.icon {
  margin: 0 !important;
}
.sms-tile__icon--blue {
  background: #e8f0fe;
  color: #2185d0;
}
.sms-tile__icon--green {
  background: #e6f9f0;
  color: #21ba45;
}
.sms-tile__icon--orange {
  background: #fff3e0;
  color: #f2711c;
}
.sms-tile__icon--purple {
  background: #f3e8ff;
  color: #9332e9;
}
.sms-tile__body {
  flex: 1;
  min-width: 0;
}
.sms-tile__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #aaa;
}
.sms-tile__value {
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.sms-tile__value--blue {
  color: #2185d0;
}
.sms-tile__value--green {
  color: #21ba45;
}
.sms-tile__value--orange {
  color: #f2711c;
}
.sms-tile__value--purple {
  color: #9332e9;
}
.sms-tile__sub {
  font-size: 12px;
  color: #bbb;
  font-weight: 500;
}
.sms-tile__actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  margin-top: 4px;
}

.sms-action-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 8px 8px;
  border-radius: 7px;
  background: #f8f9fc;
  border: 1px solid #eaecf2;
  text-decoration: none !important;
  color: #444;
  transition: background 0.15s, border-color 0.15s;
}
.sms-action-link:hover {
  background: #eef3fc;
  border-color: #c5d9f5;
}
.sms-action-link--highlight:hover {
  background: #eef3fc;
  border-color: #c5d9f5;
}
.sms-action-link__icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
}
.sms-action-link__icon i.icon {
  margin: 0 !important;
}
.sms-action-link__icon--blue {
  background: #2185d0;
  color: #fff;
}
.sms-action-link__icon--green {
  background: #21ba45;
  color: #fff;
}
.sms-action-link__icon--purple {
  background: #9332e9;
  color: #fff;
}
.sms-action-link__icon--orange {
  background: #f2711c;
  color: #fff;
}
.sms-action-link__icon--gray {
  background: #dde1ea;
  color: #555;
}
.sms-action-link__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.sms-action-link__name {
  font-size: 11px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sms-action-link__desc {
  font-size: 10px;
  font-weight: 400;
  color: #999;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sms-main-layout {
  display: grid;
  grid-template-columns: calc(66.6666666667% - 7px) 1fr;
  gap: 20px;
  align-items: stretch;
}
@media screen and (max-width: 1100px) {
  .sms-main-layout {
    grid-template-columns: 1fr;
  }
}

.sms-chart-card {
  background: #fff;
  border-radius: 5px;
  padding: 20px 24px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  min-height: 460px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.sms-chart-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.sms-chart-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  display: block;
  margin-bottom: 4px;
}
.sms-chart-card__total {
  font-size: 13px;
  color: #888;
}
.sms-chart-card__total strong {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin-right: 6px;
}
.sms-chart-card__switcher {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
  background: #f0f2f5;
  border-radius: 8px;
  padding: 3px;
}
.sms-chart-card__error {
  color: #db2828;
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}
.sms-chart-card #statsChartWrap {
  flex: 1;
  min-height: 0;
  position: relative;
}
.sms-chart-card #statsChartWrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.sms-chart-btn {
  border: none;
  background: transparent;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}
.sms-chart-btn:hover {
  color: #2185d0;
}
.sms-chart-btn.active {
  background: #fff;
  color: #1a1a2e;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.sms-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}

.sms-quick-actions {
  background: #fff;
  border-radius: 5px;
  padding: 16px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.sms-quick-actions__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.sms-quick-actions__list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.sms-quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e8eaf0;
  text-decoration: none !important;
  transition: background 0.15s;
  margin-bottom: 8px;
  color: inherit;
}
.sms-quick-action:last-child {
  margin-bottom: 0;
}
.sms-quick-action:hover {
  background: #f4f8fd;
}
.sms-quick-action--highlight {
  background: #e8f0fe;
  border-color: #c5d9f5;
}
.sms-quick-action--highlight:hover {
  background: #d4e4fc;
}
.sms-quick-action__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.sms-quick-action__icon i.icon {
  margin: 0 !important;
}
.sms-quick-action__icon--blue {
  background: #2185d0;
  color: #fff;
}
.sms-quick-action__icon--green {
  background: #21ba45;
  color: #fff;
}
.sms-quick-action__icon--purple {
  background: #9332e9;
  color: #fff;
}
.sms-quick-action__icon--gray {
  background: #e8eaf0;
  color: #666;
}
.sms-quick-action__body {
  flex: 1;
  min-width: 0;
}
.sms-quick-action__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.2;
}
.sms-quick-action__desc {
  font-size: 12px;
  color: #999;
  margin-top: 2px;
}

.pay-history-section {
  background: #fff;
  border-radius: 5px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  padding: 24px 24px 16px;
  margin-top: 20px;
  overflow-x: auto;
}
.pay-history-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pay-history-section__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
}
.pay-history-section__count {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}
.pay-history-section__empty, .pay-history-section__error {
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 60px 0;
}
.pay-history-section__error {
  color: #c0392b;
}
.pay-history-section__pagination {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.sms-empty-placeholder__icon {
  margin-bottom: 12px;
}
.sms-empty-placeholder__icon i.icon {
  font-size: 42px;
  color: #c5d9f5;
  margin: 0;
}
.sms-empty-placeholder__title {
  color: #555;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.sms-empty-placeholder__subtitle {
  color: #aaa;
  font-size: 12px;
  margin-bottom: 18px;
}

.pay-history-section__empty .sms-empty-placeholder__icon {
  margin-bottom: 16px;
}
.pay-history-section__empty .sms-empty-placeholder__icon i.icon {
  font-size: 52px;
}
.pay-history-section__empty .sms-empty-placeholder__title {
  font-size: 16px;
  margin-bottom: 8px;
}
.pay-history-section__empty .sms-empty-placeholder__subtitle {
  font-size: 13px;
  margin-bottom: 24px;
}

.pay-history-table thead th {
  white-space: nowrap;
}
.pay-history-table thead th input[type=number] {
  width: 70px !important;
  padding: 0.67857143em 0.78571429em;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 1em;
  background: #ebf4ff !important;
  border: 0 !important;
  color: rgba(0, 0, 0, 0.87);
  border-radius: 0.28571429rem;
  outline: none;
  box-shadow: 0 0 0 0 transparent inset;
  transition: color 0.1s ease, border-color 0.1s ease;
  -moz-appearance: textfield;
  appearance: textfield;
}
.pay-history-table thead th input[type=number]::-webkit-outer-spin-button, .pay-history-table thead th input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pay-history-table thead th input[type=number]:focus {
  border-color: #85b7d9;
  border-radius: 0.28571429rem;
}
.pay-history-table__credits-used {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}
.pay-history-table__vat {
  font-size: 11px;
  color: #888;
}

.ph-row--paid .ph-cell--pkg {
  font-weight: 700;
}

.ph-cell--bold {
  font-weight: 700;
}
.ph-cell--amount {
  white-space: nowrap;
}
.ph-cell--status {
  white-space: nowrap;
}
.ph-cell--action {
  text-align: right;
}

.ph-amount-tooltip {
  cursor: help;
  border-bottom: 1px dotted #999;
}

.ph-method-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ph-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}

.ph-status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.ph-status--paid {
  background: #21ba45;
}

.ph-status--failed {
  background: #e03131;
}

.ph-status--pending {
  background: #f0a500;
}

.ph-status--active {
  background: #21ba45;
}

.ph-status--expired {
  background: #aaa;
}

.ph-status--exhausted {
  background: #9332e9;
}

.ph-status--cancelled {
  background: #aaa;
}

.ph-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: #e8eaf0;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  border: 1px solid #dde1ea;
}
.ph-method-icon--visa {
  background: #1a1f71;
  color: #fff;
  font-size: 9px;
  font-style: italic;
  font-weight: 900;
  border-color: #1a1f71;
}
.ph-method-icon--visa::after {
  content: "VISA";
}
.ph-method-icon--mastercard {
  background: #fff;
  border-color: #ddd;
  position: relative;
  overflow: hidden;
}
.ph-method-icon--mastercard::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eb001b;
  position: absolute;
  left: 3px;
}
.ph-method-icon--mastercard::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f79e1b;
  position: absolute;
  right: 3px;
  opacity: 0.9;
}
.ph-method-icon--blik {
  background: #e53935;
  color: #fff;
  border-color: #e53935;
}
.ph-method-icon--blik::after {
  content: "BLIK";
  font-size: 8px;
  font-weight: 900;
}
.ph-method-icon--p24 {
  background: #fff;
  border-color: #cc0000;
  color: #cc0000;
  font-size: 8px;
  font-weight: 900;
}
.ph-method-icon--p24::after {
  content: "P24";
}
.ph-method-icon--apple {
  background: #000;
  color: #fff;
  font-size: 11px;
  border-color: #000;
}
.ph-method-icon--apple::after {
  content: "\f179";
  font-family: Icons;
}
.ph-method-icon--google {
  background: #fff;
  border-color: #ddd;
  font-size: 8px;
  font-weight: 900;
  color: #4285f4;
}
.ph-method-icon--google::after {
  content: "G Pay";
}

.sms.sms-history .sms-col__status {
  width: 160px;
  min-width: 140px;
}
.sms.sms-history .sms-col__recipient {
  width: 220px;
  min-width: 160px;
  max-width: 220px;
  overflow: hidden;
}
.sms.sms-history .sms-col__content {
  max-width: 0;
  width: 99%;
}
.sms.sms-history .sms-col__type {
  width: 130px;
  min-width: 110px;
  white-space: nowrap;
}
.sms.sms-history .sms-col__date {
  width: 110px;
  min-width: 100px;
  white-space: nowrap;
}
.sms.sms-history .sms-cell__primary {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sms.sms-history .sms-cell__secondary {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}
.sms.sms-history .sms-cell--ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.sms.sms-history .sms-history-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.sms.sms-history .sms-history-topbar__filters {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sms.sms-history .sms-history-status-select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1.5px solid #d0d7e2;
  border-radius: 7px;
  font-size: 14px;
  color: #222;
  background: #fff;
  cursor: pointer;
  appearance: auto;
  outline: none;
  min-width: 130px;
}
.sms.sms-history .sms-history-status-select:focus {
  border-color: transparent;
}
.sms.sms-history .sms-history-search {
  display: flex;
  align-items: center;
  border: 1.5px solid #d0d7e2;
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
  height: 36px;
  gap: 6px;
}
.sms.sms-history .sms-history-search i.icon {
  color: #aab0ba;
  font-size: 13px;
  margin: 0 !important;
}
.sms.sms-history .sms-history-search input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #222;
  background: transparent;
  width: 160px;
}
.sms.sms-history .sms-history-search input::placeholder {
  color: #b0b8c4;
}
.sms.sms-history .sms-history-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.sms.sms-history .sms-history-stat {
  background: #fff;
  border: 1.5px solid #e8ecf2;
  border-radius: 10px;
  padding: 18px 20px 14px;
}
.sms.sms-history .sms-history-stat__value {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}
.sms.sms-history .sms-history-stat__label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
.sms.sms-history .sms-history-stat--total .sms-history-stat__value {
  color: #222;
}
.sms.sms-history .sms-history-stat--delivered {
  border-color: #c3e6cb;
  background: #f4fff7;
}
.sms.sms-history .sms-history-stat--delivered .sms-history-stat__value,
.sms.sms-history .sms-history-stat--delivered .sms-history-stat__label {
  color: #1e8c3e;
}
.sms.sms-history .sms-history-stat--scheduled {
  border-color: #fde8b5;
  background: #fffdf4;
}
.sms.sms-history .sms-history-stat--scheduled .sms-history-stat__value,
.sms.sms-history .sms-history-stat--scheduled .sms-history-stat__label {
  color: #e07b00;
}
.sms.sms-history .sms-history-stat--failed {
  border-color: #f5c6cb;
  background: #fff8f8;
}
.sms.sms-history .sms-history-stat--failed .sms-history-stat__value,
.sms.sms-history .sms-history-stat--failed .sms-history-stat__label {
  color: #c0392b;
}
.sms.sms-history .sms-history-section {
  background: #fff;
  border-radius: 5px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.16));
  padding: 0 0 16px;
  margin-top: 0;
}
.sms.sms-history .sms-history-section__empty, .sms.sms-history .sms-history-section__error {
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 30px 0;
}
.sms.sms-history .sms-history-section__error {
  color: #c0392b;
}
.sms.sms-history .sms-history-section__pagination {
  display: flex;
  justify-content: flex-end;
  padding: 8px 24px 0;
}
.sms.sms-history .sms-history-table.ui.table thead th {
  font-size: 11px;
  font-weight: 700;
  color: #9aa3b0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sms.sms-history .sms-sort-th {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.sms.sms-history .sms-sort-th:hover {
  color: #2185d0 !important;
}
.sms.sms-history .sms-sort-th .sms-sort-icon {
  font-size: 11px !important;
  opacity: 0.35;
  margin-left: 3px !important;
  vertical-align: middle;
}
.sms.sms-history .sms-sort-th .sms-sort-icon--active {
  opacity: 1;
  color: #2185d0;
}
.sms.sms-history .sms-history-row {
  cursor: pointer;
  transition: background 0.12s;
}
.sms.sms-history .sms-history-row:hover td {
  background: #f7f9fc !important;
}
.sms.sms-history .sms-history-cell {
  vertical-align: middle !important;
  font-size: 14px;
}
.sms.sms-history .sms-history-cell--status {
  white-space: nowrap;
  min-width: 110px;
}
.sms.sms-history .sms-history-cell--recipient {
  min-width: 130px;
}
.sms.sms-history .sms-history-cell--content {
  max-width: 320px;
}
.sms.sms-history .sms-history-cell--type {
  white-space: nowrap;
}
.sms.sms-history .sms-history-cell--date {
  white-space: nowrap;
  min-width: 90px;
}
.sms.sms-history .sms-history-cell--event {
  white-space: nowrap;
  color: #555;
  font-size: 13px;
}
.sms.sms-history .sms-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.sms.sms-history .sms-status-badge--delivered {
  background: #e4f5eb;
  color: #1a9e3f;
}
.sms.sms-history .sms-status-badge--sent {
  background: #e0eeff;
  color: #2185d0;
}
.sms.sms-history .sms-status-badge--failed {
  background: #fdecea;
  color: #db2828;
}
.sms.sms-history .sms-status-badge--scheduled {
  background: #fff4e0;
  color: #c47900;
}
.sms.sms-history .sms-status-badge--pending {
  background: #eef2ff;
  color: #4a5fc1;
}
.sms.sms-history .sms-status-badge--skipped {
  background: #f3f3f3;
  color: #888;
}
.sms.sms-history .sms-status-badge--default {
  background: #e8eaf0;
  color: #555;
}
.sms.sms-history .sms-recipient__name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.sms.sms-history .sms-recipient__phone {
  font-size: 12px;
  color: #9aa3b0;
  margin-top: 1px;
}
.sms.sms-history .sms-content__text {
  font-size: 13px;
  color: #2185d0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}
.sms.sms-history .sms-content__meta {
  font-size: 11px;
  color: #9aa3b0;
  margin-top: 2px;
}
.sms.sms-history .sms-type-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.sms.sms-history .sms-type-badge--policy {
  background: #fef3e2;
  color: #f2711c;
  border: 1px solid #ffe0b2;
}
.sms.sms-history .sms-type-badge--client {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms.sms-history .sms-type-badge--manual {
  background: #f3f3f3;
  color: #555;
  border: 1px solid #d0d0d0;
}
.sms.sms-history .sms-type-badge--group {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms.sms-history .sms-type-badge--group-client {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms.sms-history .sms-type-badge--group-policy {
  background: #fef3e2;
  color: #f2711c;
  border: 1px solid #ffe0b2;
}
.sms.sms-history .sms-date__date {
  font-size: 13px;
  color: #222;
  font-weight: 500;
}
.sms.sms-history .sms-date__time {
  font-size: 12px;
  color: #9aa3b0;
  margin-top: 1px;
}
.sms.sms-history .sms-resend-btn {
  transition: opacity 0.2s;
}

.ph-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.ph-btn i.icon {
  margin: 0 !important;
  font-size: 12px;
}
.ph-btn--invoice {
  color: #2185d0;
  border: 1px solid #c8dff5;
  background: #edf5ff;
}
.ph-btn--invoice:hover {
  background: #d6eaff;
  color: #1a6db5;
}
.ph-btn--retry {
  color: #e57373;
  background: #ffebee;
  border: 1px solid #ffcdd2;
}
.ph-btn--retry:hover {
  background: #ffcdd2;
  border-color: #ef9a9a;
}

.sms-send-page-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.sms-send-layout {
  display: grid;
  grid-template-columns: calc(56% - 20px) 1fr;
  gap: 20px;
  align-items: start;
  padding: 6px;
}
@media (max-width: 1200px) {
  .sms-send-layout {
    grid-template-columns: 1fr;
  }
}

.info-icon[data-tooltip]::after {
  white-space: normal;
  max-width: 500px;
  min-width: 400px;
}

.sms-send-form-column {
  min-width: 0;
}
.sms-send-form-column .dashboard-card {
  padding: 20px;
  overflow: visible;
}
.sms-send-form-column .ui.form .field {
  margin: 0 0 15px 0;
}
.sms-send-form-column #groupSelectSection .ui.dropdown,
.sms-send-form-column #individualSelectSection .ui.dropdown {
  max-height: 140px !important;
  overflow-y: auto !important;
}
.sms-send-form-column #groupSelectSection .ui.dropdown .label,
.sms-send-form-column #individualSelectSection .ui.dropdown .label {
  margin: 2px 3px;
}
.sms-send-form-column #groupSelectSection .ui.dropdown.active, .sms-send-form-column #groupSelectSection .ui.dropdown.visible,
.sms-send-form-column #individualSelectSection .ui.dropdown.active,
.sms-send-form-column #individualSelectSection .ui.dropdown.visible {
  overflow-y: visible !important;
  max-height: none !important;
}
.sms-send-form-column #dashboardSmsForm .field > label,
.sms-send-form-column #dashboardSmsForm .field label[style] {
  font-size: 13px;
  font-weight: 700;
}
.sms-send-form-column #dashboardSmsForm .ui.checkbox label {
  font-size: 13px;
  font-weight: 700;
}

.sms-send-preview-column {
  min-width: 0;
}
.sms-send-preview-column .dashboard-card {
  padding: 16px;
}

.sms-type-buttons {
  display: flex;
  gap: 12px;
}

.sms-type-btn {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1.5px solid #38baec;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  overflow: hidden;
  gap: 10px;
  text-align: left;
  max-height: 80px;
}
.sms-type-btn:hover {
  background: #38baec;
  border-color: #38baec;
  color: #fff;
}
.sms-type-btn.active {
  border-color: #38baec;
  background: #38baec;
  color: #fff;
}
.sms-type-btn__label {
  flex: 1;
  text-align: left;
  line-height: 1.3;
  max-width: 110px;
  font-weight: bold;
}
.sms-type-btn__img {
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.form-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
}

.recipients-table-wrapper {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.recipients-table-wrapper table {
  margin: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}
.recipients-table-wrapper thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #888 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 12px !important;
}
.recipients-table-wrapper tbody td {
  padding: 8px 12px !important;
  font-size: 13px;
}

.recipients-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 15px;
  color: #888;
  text-align: center;
}
.recipients-placeholder p {
  margin-top: 8px;
  font-size: 12px;
}

.context-dot {
  width: 8px;
  height: 8px;
  background: #2185d0;
  border-radius: 50%;
}

.available-variables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
}

.section-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}

.preview-inner-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.preview-phone-col {
  flex: 0 0 46%;
  width: 46%;
}

.preview-data-col {
  flex: 1;
  min-width: 0;
}

.phone-mockup {
  background: #1a1a2e;
  border-radius: 28px;
  padding: 8px;
  width: 100%;
  height: 550px;
}

.phone-screen {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

.phone-icons {
  display: flex;
  gap: 4px;
}

.signal-icon {
  display: none;
}

.battery-icon {
  width: 22px;
  height: 11px;
  background: transparent;
}

.phone-recipient {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  font-weight: 500;
}

.recipient-avatar {
  width: 30px;
  height: 30px;
  background: #2185d0;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-messages {
  padding: 16px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sms-bubble {
  background: #2185d0;
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 90%;
  align-self: flex-end;
  word-break: break-word;
}

.sms-time {
  text-align: right;
  font-size: 10px;
  color: #999;
  margin-top: 4px;
}

.preview-data-section {
  margin-top: 0;
  padding-top: 0;
}

.preview-data-heading {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.preview-data-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-data-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.preview-data-label {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  min-width: 130px;
  flex-shrink: 0;
}

.preview-data-value {
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

#variableWarnings {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}
#variableWarnings .header {
  font-size: 14px !important;
  margin-bottom: 8px;
}
#variableWarnings .header i.icon {
  margin-right: 6px;
}
#variableWarnings .close.icon {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.7;
}
#variableWarnings .close.icon:hover {
  opacity: 1;
}
#variableWarnings ul.list {
  margin: 0;
  padding-left: 20px;
}
#variableWarnings ul.list li {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.5;
}
#variableWarnings ul.list li strong {
  color: #573a08;
}

.sms-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.sms-status-badge--delivered {
  background: #e4f5eb;
  color: #1a9e3f;
}
.sms-status-badge--sent {
  background: #e0eeff;
  color: #2185d0;
}
.sms-status-badge--failed {
  background: #fdecea;
  color: #db2828;
}
.sms-status-badge--scheduled {
  background: #fff4e0;
  color: #c47900;
}
.sms-status-badge--pending {
  background: #eef2ff;
  color: #4a5fc1;
}
.sms-status-badge--skipped {
  background: #f3f3f3;
  color: #888;
}
.sms-status-badge--default {
  background: #e8eaf0;
  color: #555;
}

.sms-type-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.sms-type-badge--client {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms-type-badge--policy {
  background: #fef3e2;
  color: #f2711c;
  border: 1px solid #ffe0b2;
}
.sms-type-badge--manual {
  background: #f3f3f3;
  color: #555;
  border: 1px solid #d0d0d0;
}
.sms-type-badge--group {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms-type-badge--group-client {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms-type-badge--group-policy {
  background: #fef3e2;
  color: #f2711c;
  border: 1px solid #ffe0b2;
}
.sms-type-badge--group_client {
  background: #e8f4fd;
  color: #2185d0;
  border: 1px solid #c5d9f7;
}
.sms-type-badge--group_policy {
  background: #fef3e2;
  color: #f2711c;
  border: 1px solid #ffe0b2;
}

.sms-template-card {
  padding: 20px;
  border-radius: 8px;
  height: 100%;
  box-shadow: none;
}
.sms-template-card--client {
  background: #f8fbff;
  border: 1px solid #c5d9f7;
}
.sms-template-card--policy {
  background: #fffaf5;
  border: 1px solid #ffe0b2;
}

.sms-cell__primary {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sms-cell__secondary {
  font-size: 12px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.sms-filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.sms-filter-tabs .sms-filter-tab {
  padding: 6px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #003a85;
  background: #fff;
  color: #003a85;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  user-select: none;
  text-decoration: none;
  display: inline-block;
}
.sms-filter-tabs .sms-filter-tab:hover {
  background: #e8eef7;
}
.sms-filter-tabs .sms-filter-tab.active {
  background: #003a85;
  color: #fff;
  border-color: #003a85;
}
.sms-filter-tabs .sms-filter-tab[data-filter=client] {
  border-color: #c5d9f7;
  color: #2185d0;
  background: #e8f4fd;
}
.sms-filter-tabs .sms-filter-tab[data-filter=client]:hover {
  background: #d2e9f8;
  border-color: #a8c7f5;
}
.sms-filter-tabs .sms-filter-tab[data-filter=client].active {
  background: #2185d0;
  color: #fff;
  border-color: #2185d0;
}
.sms-filter-tabs .sms-filter-tab[data-filter=insurance] {
  border-color: #ffe0b2;
  color: #f2711c;
  background: #fef3e2;
}
.sms-filter-tabs .sms-filter-tab[data-filter=insurance]:hover {
  background: #fde8c8;
  border-color: #ffcc80;
}
.sms-filter-tabs .sms-filter-tab[data-filter=insurance].active {
  background: #f2711c;
  color: #fff;
  border-color: #f2711c;
}

#leftBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
}
#leftBar .leftbar-logo {
  padding: 24px 24px 16px;
  flex-shrink: 0;
}
#leftBar .leftbar-logo img {
  width: 190px;
  display: block;
}
#leftBar .leftbar-user {
  padding: 0 24px 20px;
  flex-shrink: 0;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 10px;
}
#leftBar .leftbar-mapa-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: rgba(0, 0, 0, 0.87);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
#leftBar .leftbar-mapa-link:hover {
  color: #2185d0;
}
#leftBar .leftbar-mapa-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 22px;
}
#leftBar .leftbar-mapa-icon svg {
  width: 22px;
  height: auto;
}
#leftBar .leftbar-mapa-text {
  font-size: 16px;
  font-weight: 600;
}
#leftBar .leftbar-username {
  display: block;
  font-size: 13px;
  color: #888;
  padding-left: 30px;
  margin-top: 2px;
}
#leftBar .leftbar-nav {
  flex: 1;
  min-height: 0;
  padding: 8px 0;
  overflow-y: auto;
  overflow-x: hidden;
}
#leftBar .leftbar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px 13px 12px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.15s;
  white-space: nowrap;
}
#leftBar .leftbar-item .leftbar-icon {
  display: flex;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}
#leftBar .leftbar-item .leftbar-icon i.icon {
  margin: 0 !important;
  font-size: 17px;
}
#leftBar .leftbar-item:hover, #leftBar .leftbar-item.active {
  color: #003a85;
}
#leftBar .leftbar-group {
  min-width: 0;
  max-width: 100%;
}
#leftBar .leftbar-group .leftbar-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 23px 10px 12px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
  position: relative;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-icon {
  display: flex;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-icon i.icon {
  margin: 0 !important;
  font-size: 17px;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-icon--sms {
  width: 22px;
  overflow: hidden;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-icon--sms svg {
  width: 20px;
  height: auto;
  display: block;
  max-width: 100%;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-badge {
  position: static !important;
  font-size: 9px !important;
  padding: 2px 5px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  line-height: 1.2 !important;
  margin-right: 4px;
}
#leftBar .leftbar-group .leftbar-group-header .leftbar-chevron {
  margin: 0 !important;
  font-size: 13px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
#leftBar .leftbar-group .leftbar-group-header:hover {
  color: #003a85;
}
#leftBar .leftbar-group .leftbar-submenu {
  display: none;
  background: #ebf4ff;
  padding: 0;
  border-left: solid 1px #003a85;
  margin-left: 20px;
  max-width: calc(100% - 20px);
  box-sizing: border-box;
  overflow: hidden;
}
#leftBar .leftbar-group .leftbar-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.15s;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
#leftBar .leftbar-group .leftbar-sub-item i.icon {
  margin: 0 !important;
  font-size: 14px;
  flex-shrink: 0;
}
#leftBar .leftbar-group .leftbar-sub-item:hover {
  color: #003a85;
}
#leftBar .leftbar-group .leftbar-sub-item.active {
  color: #003a85;
  font-weight: 600;
}
#leftBar .leftbar-group .leftbar-sub-item.open-empty-cancel-insurance {
  color: #db2828;
}
#leftBar .leftbar-group .leftbar-sub-item.open-empty-cancel-insurance:hover {
  color: #a00;
}
#leftBar .leftbar-group.open {
  background: #ebf4ff;
  padding-bottom: 10px;
}
#leftBar .leftbar-group.open .leftbar-group-header {
  background: #ebf4ff;
  color: #003a85;
}
#leftBar .leftbar-group.open .leftbar-group-header .leftbar-chevron {
  transform: rotate(180deg);
}
#leftBar .leftbar-group.open .leftbar-submenu {
  display: block;
}
#leftBar .leftbar-footer {
  padding: 16px 24px;
  border-top: 1px solid #e8e8e8;
  flex-shrink: 0;
}
#leftBar .leftbar-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #db2828;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  cursor: pointer;
}
#leftBar .leftbar-logout i.icon {
  margin: 0 !important;
}
#leftBar .leftbar-logout:hover {
  color: #a00;
}

.leftbar-drafts-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 2px;
  background: #21ba45;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 4px;
  flex-shrink: 0;
}

body.has-left-menu {
  background-color: #f7f7f7 !important;
}
body.has-left-menu.pushable > .pusher {
  background: #f7f7f7 !important;
}
body.has-left-menu #topBar {
  display: none !important;
}
body.has-left-menu #bottomBar {
  display: none !important;
}
body.has-left-menu #page {
  margin-left: 220px !important;
  padding-top: 30px !important;
  overflow-x: hidden;
  background: transparent !important;
}
body.has-left-menu #footer {
  margin-left: 220px;
}

.topbar-sms-icon {
  display: flex;
  align-items: center;
  width: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.topbar-sms-icon svg {
  width: 20px;
  height: auto;
  display: block;
  max-width: 100%;
}

.topbar-menu-icon {
  display: flex;
  align-items: center;
  width: 15px;
  flex-shrink: 0;
}
.topbar-menu-icon svg {
  width: 15px;
  height: auto;
}

#leftBar .leftbar-icon:not(.leftbar-icon--sms) svg {
  width: 15px;
  height: auto;
  display: block;
}

body > .ui.popup.calendar {
  z-index: 10010 !important;
}

.insurance-modal__card-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.insurance-modal__file-lock-badge {
  margin-left: 6px;
  color: #767676;
  font-size: 0.85em;
}

.send-attachments-modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px 0;
}

.send-attachments-modal__item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
}

.send-attachments-modal__item-name {
  flex: 1;
  word-break: break-all;
}

.send-attachments-modal__item-lock {
  color: #767676;
  flex-shrink: 0;
}

.send-attachments-modal__hint {
  font-size: 0.9em;
  margin-top: 8px;
}

.send-attachments-modal__field-error {
  margin-top: 6px;
}

.send-attachments-modal__form-error {
  margin-bottom: 12px;
}

.send-insurer-data-modal.ui.modal > .content,
.send-insurer-data-modal.ui.modal > .content.send-insurer-data-modal__content {
  padding: 1.5rem !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
}

.send-insurer-data-modal__form {
  display: block !important;
}

.send-insurer-data-modal__empty-info {
  display: block !important;
  margin-bottom: 0;
}

.send-insurer-data-modal__empty-body {
  display: block !important;
}

.send-insurer-data-modal__empty-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.send-insurer-data-modal__toggle {
  margin-bottom: 16px;
}

.send-insurer-data-modal__preview {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fafafa;
  max-height: 220px;
  overflow-y: auto;
}

.send-insurer-data-modal__preview-group:not(:last-child) {
  margin-bottom: 12px;
}

.send-insurer-data-modal__preview-group strong {
  display: block;
  margin-bottom: 4px;
  color: #003a85;
}

.send-insurer-data-modal__preview-group ul {
  margin: 0;
  padding-left: 18px;
}

.send-insurer-data-modal__preview-group li {
  margin-bottom: 2px;
  word-break: break-word;
}

.send-insurer-data-modal__empty-info {
  margin-bottom: 0;
}

.send-insurer-data-modal__empty-hint {
  margin-top: 8px;
  color: #666;
  font-size: 0.95em;
}

.insurance-modal__inline-field {
  min-width: 0;
}

.insurance-modal__inline-field--editable:not(.editing) {
  cursor: pointer;
}

.insurance-modal__inline-field--editable:not(.editing) .insurance-modal__inline-view:hover .insurance-modal__inline-value:not(.insurance-modal__field-value--empty) {
  color: #003a85;
}

.insurance-modal__inline-field.editing {
  cursor: default;
}

.insurance-modal__inline-field--policy-number {
  flex: 1;
  min-width: 0;
}

.insurance-modal__inline-field--policy-number .insurance-modal__inline-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.insurance-modal__inline-field-wrap,
.insurance-modal__inline-view,
.insurance-modal__inline-editor {
  min-width: 0;
}

.insurance-modal__inline-input-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.insurance-modal__inline-input-row--stack {
  flex-direction: column;
  align-items: stretch;
}

.insurance-modal__inline-input-row--stack .insurance-modal__inline-actions {
  align-self: flex-end;
}

.insurance-modal__inline-address-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 72px 72px 92px minmax(0, 1.4fr);
  gap: 8px;
  flex: 1;
  min-width: 0;
  width: 100%;
}

.insurance-modal__inline-address-field--street {
  grid-column: 1 / -1;
}

.insurance-modal__inline-date-range-field {
  flex: 1;
  min-width: 0;
}

.insurance-modal__inline-date-range-field .ui.input {
  width: 100%;
}

.insurance-modal__inline-policy-number,
.insurance-modal__inline-vehicle-names {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.insurance-modal__vehicle-inline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
  margin-bottom: 10px;
}

.insurance-modal__client-cell--client:has(.insurance-modal__inline-field--client-select.editing),
.insurance-modal__client-cell--address:has(.insurance-modal__inline-field--address.editing) {
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
}

.insurance-modal__inline-field--address.editing .insurance-modal__inline-input-row,
.insurance-modal__inline-field--date-range.editing .insurance-modal__inline-input-row,
.insurance-modal__inline-field--client-select.editing .insurance-modal__inline-input-row {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.insurance-modal__inline-field--address.editing .insurance-modal__inline-input-row {
  align-items: flex-end;
}

.insurance-modal__inline-field--address.editing .insurance-modal__inline-address-grid {
  flex: 1 1 auto;
  min-width: 0;
}

.insurance-modal__inline-field--address.editing .insurance-modal__inline-actions {
  align-self: flex-end;
  margin-bottom: 2px;
}

.insurance-modal__inline-field--client-select.editing .insurance-modal__inline-input-row {
  align-items: center;
}

.insurance-modal__inline-field--client-select.editing .ui.dropdown.insurance-modal__inline-select {
  flex: 1 1 auto;
  min-width: 280px;
  width: auto;
  max-width: none;
}

.insurance-modal__inline-field--company.editing .insurance-modal__inline-input-row {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.insurance-modal__inline-field--company.editing .ui.dropdown.insurance-modal__inline-select {
  flex: 1 1 auto;
  min-width: 260px;
  width: auto;
  max-width: 100%;
}

.insurance-modal__inline-input-row--stack {
  flex-direction: column;
  align-items: stretch;
}

.insurance-modal__inline-input-row--stack .insurance-modal__inline-actions {
  align-self: flex-end;
}

.insurance-modal__inline-address-grid {
  grid-template-columns: minmax(0, 2fr) 80px 80px 100px minmax(0, 1.5fr);
}

.insurance-modal__inline-field--vehicle-line {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.insurance-modal__inline-field--vehicle-line .insurance-modal__field-label {
  display: none;
}

.insurance-modal__inline-field--vehicle-line .insurance-modal__inline-value {
  font-size: 14px;
  font-weight: 600;
}

.insurance-modal__inline-field--vehicle-inline {
  width: 100%;
}

.insurance-modal__inline-field--vehicle-inline .insurance-modal__field-label {
  display: none;
}

.insurance-modal__inline-field--vehicle-inline .insurance-modal__inline-view .insurance-modal__field-value {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.insurance-modal__inline-field--vehicle-inline .insurance-modal__vehicle-line-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.insurance-modal__inline-field--vehicle-inline .insurance-modal__vehicle-inline-val {
  font-size: 14px;
  font-weight: 600;
  word-break: break-word;
}

.insurance-modal__vehicle-line--inline {
  align-items: flex-start;
}

.insurance-modal__inline-field--company {
  min-width: 0;
}
.insurance-modal__inline-field--company .insurance-modal__field-label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
}
.insurance-modal__inline-field--company .insurance-modal__inline-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  word-break: normal;
}
.insurance-modal__termination-note {
  margin-top: 20px;
  min-width: 0;
}
.insurance-modal__termination-note-form {
  margin-top: 0;
}
.insurance-modal__termination-note-form .insurance-modal__card-actions--comment {
  margin-top: 15px;
}
.insurance-modal__end-note-form {
  max-width: 100%;
  min-width: 0;
}
.insurance-modal__end-note-form .field {
  max-width: 100%;
}
.insurance-modal__end-note-form textarea {
  max-width: 100%;
}

.insurance-modal__inline-editor .ui.dropdown.insurance-modal__inline-select {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  flex: 1;
  background: #eef4fb !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 9px 12px;
  min-height: 38px;
}

.insurance-modal__inline-editor .insurance-modal__soft-input,
.insurance-modal__inline-editor select.insurance-modal__inline-select {
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
  border-radius: 4px;
  background: #eef4fb !important;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  width: 100%;
}

.insurance-modal__inline-editor .insurance-modal__soft-input:focus,
.insurance-modal__inline-editor select.insurance-modal__inline-select:focus {
  outline: 2px solid rgba(0, 58, 133, 0.15);
  background: #eef4fb !important;
}

.insurance-modal__inline-editor .insurance-modal__soft-input.insurance-modal__inline-field-error {
  outline: 2px solid #db2828 !important;
  background: #fff6f6 !important;
}

.insurance-modal__inline-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.insurance-modal__inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.insurance-modal__inline-btn svg {
  width: 14px;
  height: 14px;
}

.insurance-modal__inline-btn--cancel {
  background: #fdeaea;
  color: #d93025;
}

.insurance-modal__inline-btn--save {
  background: #e4f5eb;
  color: #1e8e3e;
}

/*# sourceMappingURL=custom.css.map */
