/* Insurance Policy Module CSS - BEM Naming Convention */
.colmena-container {
  background-image: url("${themeDisplay.getPathThemeImages()}/insurance-policy/background.png");
  background-repeat: repeat;
  background-position: center;
  background-size: cover;
}

/* Main container */
.insurance-policy {
  font-family: "Roboto", sans-serif;
  padding: 1.5rem 0;
  position: relative;
  min-height: 100vh;
}

/* Title styling */
.insurance-policy__title {
  color: #0069a7;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.insurance-policy__info {
  display: block;
  background-color: #FFF;
  border-radius: 0.5rem;
  border: 1px solid #0097AE;
  margin-bottom: 0.25rem;
  padding: 0.5rem;
  width: 100%;
  line-height: 24px;
  min-height: 42px;
}

/* Certificate information */
.insurance-policy__certificate {
  margin-bottom: 2rem;
}

.insurance-policy__policy-number {
  color: #0097AE;
  font-weight: 700;
}

.insurance-policy__coverage-title {
  font-size: 14px;
}

.insurance-policy__coverage-details {
  border-radius: 8px;
  border: 1px solid #0097AE;
  padding: 0px 12px;
  background-color: #FFF;
}

.insurance-policy__coverage-row {
  border-bottom: 1px solid var(--color-grey-300);
  width: 100%;
  margin-right: 1rem;
  margin-left: 1rem;
}

.insurance-policy__coverage-row [class^=col] {
  padding-left: 0;
  padding-right: 0;
}

.insurance-policy__coverage-row label {
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.label-blue {
  color: var(--color-blue-100);
}

.responsive-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  /*
     border: 1px solid #0097AE;
     border-radius: 8px;
  */
  overflow: hidden;
}

.responsive-table thead th,
.responsive-table thead td,
.responsive-table tbody th,
.responsive-table tbody td {
  text-align: left;
  border-top: 1px solid var(--primary-color-colmena);
  border-left: 1px solid var(--primary-color-colmena);
}

.responsive-table .no-border {
  border: none;
}

.responsive-table .rounded-top-left {
  border-top-left-radius: 8px;
}

.responsive-table .rounded-top-right {
  border-top-right-radius: 8px;
}

.responsive-table .rounded-bottom-left {
  border-bottom-left-radius: 8px;
}

.responsive-table .rounded-bottom-right {
  border-bottom-right-radius: 8px;
}

.responsive-table td:last-child {
  border-right: 1px solid var(--primary-color-colmena);
}

.responsive-table thead th:last-child {
  border-right: 1px solid var(--primary-color-colmena);
  border-top-right-radius: 8px;
}

.responsive-table thead tr:first-child th:first-child {
  border-top-left-radius: 8px;
}

/* Last cell in the top row */
.responsive-table thead tr:first-child td:last-child {
  border-top-left-radius: 8px;
}

.responsive-table tbody tr:last-child td {
  border-bottom: 1px solid var(--primary-color-colmena);
}

.responsive-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.responsive-table tfoot td {
  border-bottom: 1px solid var(--primary-color-colmena);
  border-left: 1px solid var(--primary-color-colmena);
}

.responsive-table .text-label {
  text-align: left;
  padding-left: 8px;
}

.responsive-table .text-currency {
  text-align: right;
}

.responsive-table .text-date {
  text-align: center;
}

.responsive-table .text-number {
  text-align: center;
}

.hidden-for-print {
  display: none !important;
}

@media (max-width: 992px) {
  .responsive-table,
  .responsive-table thead,
  .responsive-table tbody,
  .responsive-table tfoot,
  .responsive-table th,
  .responsive-table td,
  .responsive-table tr {
    display: block;
    width: 100%;
  }
  .responsive-table {
    border: none;
    font-size: 14px;
  }
  .responsive-table thead {
    display: none;
  }
  .responsive-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--primary-color-colmena);
    border-radius: 12px;
    padding: 12px;
  }
  .responsive-table td {
    position: relative;
    padding-left: 50%;
  }
  .responsive-table th,
  .responsive-table td {
    border-right: none;
    border-bottom: 1px solid var(--color-grey-300);
  }
  .responsive-table td:last-child {
    border-bottom: none;
  }
  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    font-weight: 400;
    color: var(--color-blue-100);
  }
  .responsive-table .text-label {
    text-align: right;
  }
  .responsive-table .text-currency {
    text-align: right;
  }
  .responsive-table .text-date {
    text-align: right;
  }
  .responsive-table .text-number {
    text-align: right;
  }
  .responsive-table tfoot .text-label {
    color: var(--primary-color-colmena);
    font-weight: 500;
    text-align: center;
  }
  .responsive-table .no-border {
    display: none;
  }
  .responsive-table td:last-child,
  .responsive-table tbody tr:last-child td:first-child,
  .responsive-table tbody td {
    border-radius: none;
    border-right: none;
    border-left: none;
    border-top: none;
  }
  .responsive-table tbody tr:last-child td {
    border-radius: none;
    border-bottom: 1px solid var(--color-grey-300);
  }
  .responsive-table tfoot td {
    display: none;
    visibility: hidden;
    border-radius: none;
    border-right: none;
    border-left: none;
  }
  .responsive-table tfoot td {
    border-right: none;
    border-left: none;
  }
  .responsive-table tfoot td:last-child {
    display: block;
    visibility: visible;
  }
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .col-12 > button {
    margin-bottom: 1rem;
  }
}
/* Medium devices (tablets, 768px and up) */
/* Extra large devices (large desktops, 1200px and up) */