/**
 * PRC Tax & Dashboard Pro
 * Frontend Styles
 */

.prc-tax-display-pro {
    position: relative;
    background-color: #ffffff; /* Fundo branco */
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #333; /* Texto preto */
    overflow: hidden; /* Para a barra decorativa */
    margin-bottom: 20px;
    border: 1px solid #eee; /* Adiciona uma borda sutil */
}

@media (max-width: 600px) {
    .prc-estimate-fee th:before,
    .prc-estimate-fee td:before,
    .prc-estimate-fee .woocommerce-cart-form__cart-item th:before,
    .prc-estimate-fee .woocommerce-cart-form__cart-item td:before,
    table.shop_table th:before,
    table.shop_table td:before {
      content: "" !important;
    }
  }
  @media (max-width: 600px) {
    /* .prc-tax-display-pro .prc-row {
      flex-direction: column !important;
      align-items: flex-start !important;
      padding: 12px 0 10px 0 !important;
      gap: 0;
      border-bottom: none !important;
      margin-bottom: 10px;
      background: transparent !important;
    } */
    .prc-tax-display-pro .prc-row > div,
    .prc-tax-display-pro .prc-row span,
    .prc-tax-display-pro .prc-row sub {
      width: 100% !important;
      text-align: left !important;
      justify-content: flex-start !important;
    }
    .prc-tax-display-pro .prc-row span:first-child {
      font-weight: 600;
      font-size: 1em;
      color: #222;
      margin-bottom: 2px;
    }
    .prc-tax-display-pro .prc-row span:last-child {
      font-weight: 700;
      font-size: 1.15em;
      color: #111;
      margin-bottom: 2px;
      margin-top: 2px;
      display: block;
    }
    .prc-tax-display-pro .prc-row sub {
      margin-top: 0;
      margin-bottom: 2px;
      display: block;
      font-size: 0.92em;
      color: #c77f00;
      line-height: 1.2;
      font-size: 0.7rem;
    }
    .prc-tax-display-pro .prc-divider {
      margin: 6px 0 !important;
    }
  }
/* Barra decorativa no topo */
.prc-tax-display-pro:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4a6cf7, #8a63d2, #e74c3c); /* Gradiente azul, roxo, laranja */
    border-radius: 18px 18px 0 0;
    z-index: 1;
}

.prc-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 10px; /* Espaço para a barra decorativa */
}

.prc-header svg {
    width: 24px;
    height: 24px;
    color: #4a6cf7; /* Cor do ícone */
    margin-right: 10px;
}

.prc-header h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
}

@media (max-width: 600px) {
  .prc-header h4 {
    font-size: 1em !important;
    line-height: 1.1 !important;
    word-break: keep-all;
    white-space: nowrap;
  }
}

.prc-details {
    margin-bottom: 20px;
}

.prc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95em;
    border-bottom: 1px solid #eee;
}

.prc-row:last-of-type {
    border-bottom: none;
}

.prc-row span:first-child {
    font-weight: 400;
    color: #555;
}

.prc-row span:last-child {
    font-weight: 500;
    color: #333;
}

.prc-divider {
    border-top: 1px dashed #ddd;
    margin: 10px 0;
}

.prc-row.subtotal-row span:first-child,
.prc-row.final-total span:first-child {
    font-weight: 600;
    color: #333;
}

.prc-row.subtotal-row span:last-child,
.prc-row.final-total span:last-child {
    font-weight: 700;
    color: #4a6cf7; /* Cor para o total */
    font-size: 1.1em;
}

.prc-notice {
    background-color: #e0f2f7; /* Azul claro */
    border-left: 4px solid #2196f3; /* Azul */
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    font-size: 0.85em;
    color: #333;
}

.prc-notice svg {
    width: 20px;
    height: 20px;
    color: #2196f3; /* Cor do ícone de informação */
    margin-right: 10px;
    flex-shrink: 0;
}

.prc-notice p {
    margin: 0;
    line-height: 1.4;
}


