
body {
    font-family: 'Figtree', sans-serif;
}

.boleto-container {
    background-image: url('/assets/img/img_fundo_2viaBoleto.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 10px;
    display: block;
}

.boleto-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 932px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.segunda-box {
    background: #fff;
    border-radius: 50px;
    padding: 20px;
    max-width: 458px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.tipo-box {
    background: #fff;
    border-radius: 50px;
    padding: 15px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 5px 20px; 
    color: #0062cc;
    display: inline-block;
}

.boleto-conteudo {
    max-width: 932px;
    margin: 0 auto;
}

.switch-group {
    display: flex;
    justify-content:space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.segunda-box, .tipo-box {
  flex: 1;
}

.icone-img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.titulo {
    font-weight: bold;
    font-size: 25px;
    color: #0062cc;
}

.descricao {
    font-size: 24px;
    color: #0062cc;
    margin-bottom: 20px;
}

.form-group {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group .form-control {
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    color: #888;
    font-size: 14px;
}

.form-control.full-width {
    width: 100%;
}

.btn-consultar {
    width: 385px;
    padding: 12px;
    background-color: #0086FF;
    color: white;
    font-size: 32px;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-consultar:hover {
    background-color: #004a99;
}

.tipo-switch {
    background: white;
    border-radius: 10px;
    gap: 10px;
    align-items: center;
    font-size: 25px;
}

.tipo-switch label {
    cursor: pointer;
    font-weight: bold;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
    font-family: sans-serif;
}

.tipo-switch input {
    display: none;
}

.tipo-switch label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: green;
    -webkit-mask: url('/assets/css/icones/check.svg') no-repeat center;
    mask: url('/assets/css/icones/check.svg') no-repeat center;
    -webkit-mask-size: cover;
    mask-size: cover;
    transition: background-color 0.2s ease;
}

.tipo-switch label.inativo::before {
    background-color: gray;
}

.tipo-switch span {
    color: #0062cc;
}

.input-valid {
    border: 2px solid #28a745;
    box-shadow: 0 0 6px rgba(40, 167, 69, 0.5);
    transition: all 0.3s ease-in-out;
}

.input-invalid {
    border: 2px solid #dc3545;
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.5);
    transition: all 0.3s ease-in-out;
}

/** card lista de boletos */

.conteudo-centralizado {
    max-width: 932px;
    margin: 0 auto;
    width: 100%;
}

.title-boletos {
    background: #fff;
    border-radius: 50px;
    padding: 20px;
    max-width: 410px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2% 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lista-boleto-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 932px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: block;
    margin-inline:auto;
}

.card-list {
  align-items: center;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 15px 25px;
  margin-bottom: 15px;
}

.list-datas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.info, .vencimento, .status {
  display: flex;
  flex-direction: column;
  margin-right: 5px;
  min-width: 150px;
}

.info > div:first-child {
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
}

.info > div:nth-child(2) {
  font-size: 13px;
  color: #666;
}

.info > div:last-child {
  font-size: 15px;
  color: #aaa;
}

.vencimento > div:first-child,
.status > label {
  font-size: 13px;
  color: #666;
}

.vencimento > div:last-child,
.status > div {
  font-size: 15px;
  color: #aaa;
}

.status > div {
  font-weight: 500;
}

.acoes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.botao-icon {
    min-width: 150px; 
    height: 36px;
}

.botao-icon {
  width: 180px;
  height: 49px;
  border-radius: 10px;
  border: none;
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px;
}

.botao-icon.verde {
  background-color: #EFBB10;
  font-size: 15px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 10px;

}

.botao-icon.azul {
  background-color: #2979ff;
  font-size: 15px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 10px;
}

.botao-icon.visao {
  background-color: #2979ff;
  font-size: 15px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 10px;
}

/** mobile */

@media (max-width: 768px) {

    .list-datas {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 1px;
        position: relative;
        margin: 0; /* ou use margin: 2px; se quiser um espacinho */
        padding: 0; 
    }

    .info, .vencimento, .status {
        flex: 1 1 100%;
        min-width: 50%;
        text-align: center;
        margin-bottom: 5px;
    }
    .status-icon {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .status-icon .botao-icon {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 48px; /* ajuste conforme o tamanho do ícone */
        height: 48px;
        border-radius: 50%;
        padding: 0;
    }

    .botao-icon {
        width: 1px;
        height: 50px;
    }
    
    .icone-img {
        width: 24px;
        height: 24px;
        margin-right: 5px;
    }

    .tipo-switch {
        font-size: 20px;
    }

    .tipo-switch label::before {
        width: 18px;
        height: 18px;
    }

    .btn-consultar {
        width: 100%;
        font-size: 18px;
    }

    .titulo {
        font-size: 22px;
        text-align: center;
    }

    .descricao {
        font-size: 16px;
        text-align: center;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group .form-control {
        padding: 14px;
        font-size: 14px;
    }

    .switch-group {
        flex-direction: column;
        gap: 10px;
    }

    .segunda-box, .tipo-box, .title-boletos {
        max-width: 100%;
    
    }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 50%;
  border-radius: 10px;
  position: relative;
  color: #000;
  z-index: 1001;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

#btn-consultar {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.custom-card {
    display: inline-block;
    font-size: 15px;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #F5F5F5;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(149, 173, 201, 0.05);
    color: #565656;
}

.img-danger {
    width: 50px;
    height: auto;
    max-width: 100%; 
}



.btn-ano {
    background-color: #f2f2f2;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 20px 40px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-ano:hover {
    background-color: #e6e6e6;
    cursor: pointer;
}

.btn-ano.selecionado {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

.btn-consultar {
    background-color: #007bff;
    color: white;
    padding: 12px 30px; 
    border: none;
    border-radius: 10px;
    font-size: 1.1em;
    transition: 0.3s;
}

.btn-consultar:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.btn-consultar:hover:not(:disabled) {
    background-color: #0056b3;
}

.anos-container {
    margin-bottom: 20px;
}

