/*//////////////////////////////////////////////////////////////////
  [ RESTYLE TAG ]*/

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: 'Poppins';
}

/*---------------------------------------------*/
a {
  font-family: 'Poppins';
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
  transition: all 0.4s;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
  outline: none !important;
}

a:hover {
  text-decoration: none;
  color: #0050db;
  border-color: #0094ff;
}

/*---------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
}

p {
  font-family: 'Poppins';
  font-size: 14px;
  line-height: 1.7;
  color: #666666;
  margin: 0px;
}

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


/*---------------------------------------------*/
input {
  outline: none;
  border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #555555;
}

input:-moz-placeholder {
  color: #555555;
}

input::-moz-placeholder {
  color: #555555;
}

input:-ms-input-placeholder {
  color: #555555;
}

textarea::-webkit-input-placeholder {
  color: #555555;
}

textarea:-moz-placeholder {
  color: #555555;
}

textarea::-moz-placeholder {
  color: #555555;
}

textarea:-ms-input-placeholder {
  color: #555555;
}

label {
  display: block;
  margin: 0;
}

/*---------------------------------------------*/
button {
  outline: none !important;
  border: none;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

iframe {
  border: none !important;
}


/*//////////////////////////////////////////////////////////////////
  [ Utility ]*/
.txt1 {
  font-family: 'Poppins';
  font-size: 16px;
  color: #555555;
  line-height: 1.5;
}

.txt2 {
  font-family: 'Poppins';
  font-size: 14px;
  color: #999999;
  line-height: 1.5;
}

.bo1 {
  border-bottom: 1px solid #999999;
}

/*//////////////////////////////////////////////////////////////////
  [ login ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-login100 {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background-position: center center;
  background-size: cover !important;
  background-repeat: no-repeat;
  ;
}


.wrap-login100 {
  width: 680px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  padding: 60px 80px 40px 80px;
  margin: 20px;
}

.login100-form-btn i {
  margin-right: 10px;
}

/*==================================================================
  [ Form ]*/

.login100-form {
  width: 100%;
}

.login100-form-title {
  width: 100%;
  display: block;
  font-family: 'Poppins';
  font-size: 39px;
  color: #555555;
  line-height: 1.2;
  text-align: center;
}


/*------------------------------------------------------------------
  [ Input ]*/

.btn-toggle-senha {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

.wrap-input100 {
  position: relative;
}

.wrap-input100 {
  width: 100%;
  position: relative;
  background-color: #f7f7f7;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}


/*---------------------------------------------*/
.input100 {
  font-family: 'Poppins';
  color: #333333;
  line-height: 1.2;
  font-size: 18px;
  display: block;
  width: 100%;
  background: transparent;
  height: 50px;
  padding: 0 20px;
}

/*------------------------------------------------------------------
  [ Focus Input ]*/

.focus-input100 {
  position: absolute;
  display: block;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: -1px;
  left: -1px;
  pointer-events: none;
  border: 1px solid #0094ff;
  border-radius: 10px;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  -webkit-transform: scaleX(1.1) scaleY(1.3);
  -moz-transform: scaleX(1.1) scaleY(1.3);
  -ms-transform: scaleX(1.1) scaleY(1.3);
  -o-transform: scaleX(1.1) scaleY(1.3);
  transform: scaleX(1.1) scaleY(1.3);
}

.input100:focus+.focus-input100 {
  visibility: visible;
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.eff-focus-selection {
  visibility: visible;
  opacity: 1;

  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}


/*------------------------------------------------------------------
  [ Button ]*/
.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}

.login100-form-btn {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 60px;
  background-color: #0045bf;
  border-radius: 10px;

  font-family: 'Poppins';
  font-size: 16px;
  color: #fff;
  line-height: 1.2;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}

.login100-form-btn::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  top: 0;
  left: 0;
  background: #0e2958;
  background: -webkit-linear-gradient(45deg, #00225e, #0050db);
  background: -o-linear-gradient(45deg, #00225e, #0050db);
  background: -moz-linear-gradient(45deg, #00225e, #0050db);
  background: linear-gradient(45deg, #00225e, #0050db);
  opacity: 0;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn:hover:before {
  opacity: 1;
}


/*------------------------------------------------------------------
  [ Alert validate ]*/

.validate-input {
  position: relative;
  margin-bottom: 5px;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 5px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 12px;
  pointer-events: none;

  font-family: 'Poppins';
  color: #c80000;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f12a";
  font-family: FontAwesome;
  display: block;
  position: absolute;
  color: #c80000;
  font-size: 18px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 18px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

.flex-sb {
  justify-content: flex-start !important;
}

.flex-cc {
  justify-content: center !important;
}

.sky-ossel {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}


.sky-ossel img {
  width: 380px;
}

.search-local {
  max-width: 630px !important;
}

.icon-conve {
  color: #2ea8ff !important;
}

.retornos {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: center;
}

.inativo {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin: 50px 20px 20px 20px;
  width: 630px;
}

.inativo b {
  color: rgb(192, 24, 24);
}

.p-inativo {
  color: rgb(168, 93, 93) !important;
  font-size: 14px !important;
}

.inativo i {
  color: rgb(192, 24, 24);
  margin-right: 7px;
}

.inativo h3 {
  font-size: 25px;
  color: rgba(78, 78, 78);
  font-weight: 700;
  text-align: center;
}

.inativo h5 {
  color: rgba(78, 78, 78);
  margin-top: 15px;
}

.ativo {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin: 50px 20px 20px 20px;
}

.ativo i {
  color: rgb(19, 173, 83);
  margin-right: 7px;
}

.ativo h3 {
  font-size: 25px;
  color: rgba(78, 78, 78);
  font-weight: 700;
  margin-bottom: 25px;
}

.ativo h5 {
  color: rgba(78, 78, 78);
  font-size: 20px;
  margin-top: 25px;
}

.dados-inativo {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dados-inativo h4 {
  font-size: 16px;
  color: #838383;
  margin: 0 !important;
}

.dados-inativo h6 {
  padding: 0px 15px;
  color: #a7a7a7;
  margin: 0 !important;
}

.dados-ativo {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.dados-ativo h4 {
  font-size: 18px;
  color: #838383;
  margin: 0 !important;
  font-weight: 300;
  letter-spacing: 0px;
}

.dados-ativo h6 {
  padding: 0px 15px;
  color: #a7a7a7;
  margin: 0 !important;
}

.dados-ativo a {
  background-color: #0045bf;
  color: #fff;
  padding: 6px 20px;
  margin: 0px 10px;
  border-radius: 4px;
  font-size: 15px;
}

.dados-ativo a:hover {
  background-color: #001f55;
  transition: .4s;
  color: #fff;
}

table th {
  padding: 10px 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #0045bf;
  font-size: 15px;
}

table td {
  padding: 10px 16px;
  font-weight: 300;
  font-size: 14px;
}

.reset h3 {
  color: #0045bf;
  font-size: 25px;
}


.reset p {
  margin-bottom: 30px;
}

/* Estilos para desktop (mantém a tabela normal) */
.ativo table {
  width: 100%;
  border-collapse: collapse;
}

@media screen and (max-width: 768px) {

  /* 1. Remove COMPLETAMENTE os cabeçalhos */
  .ativo th {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 2. Transforma em layout de cartão */
  .ativo table tbody {
    display: block;
    width: 100%;
  }

  .ativo table tbody tr {
    display: block;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* 3. Cada célula vira um bloco */
  .ativo table tbody td {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
  }

  /* 4. Remove borda do último item */
  .ativo table tbody td:last-child {
    border-bottom: none;
  }

  /* 5. Adiciona labels */
  .ativo table tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #0045bf;
    margin-bottom: 4px;
  }

  /* 6. Estilo do botão */
  .btn-detalhes {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
  }
}

.nav {
  justify-content: flex-end
}

.nav__link2 {
  text-align: right
}

@media screen and (max-width: 1023px) {
  .nav__link2 {
    color: #222
  }
}

/* Botão de detalhes */
.btn-detalhes {
  background-color: #0045bf;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.4s;
}

.btn-detalhes:hover {
  background-color: #002769;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Suave scrolling no iOS */
  overflow-y: auto;
}

.modal-conteudo {
  background-color: #fff;
  margin: 30px auto;
  padding: 25px;
  width: 90%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  /* Limita a altura do modal */
  overflow-y: auto;
  /* Habilita scroll interno se necessário */
  -webkit-overflow-scrolling: touch;
  /* Suave scrolling no iOS */
}

.modal-cabecalho {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.numero-apolice {
  font-size: 18px;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 20px;
}

.secao-titulo {
  font-size: 16px;
  color: #0045bf;
  margin: 20px 0 10px 0;
  font-weight: 600;
}

.dados-cadastrais {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.dado-item {
  margin-bottom: 8px;
}

.dado-label {
  font-size: 13px;
  color: #7f8c8d;
  display: block;
}

.dado-valor {
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
}

.endereco {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.dependentes {
  margin-bottom: 25px;
}

.dependente-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.botoes-acoes {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.botao-acao {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}

.botao-download {
  background-color: #0045bf;
  color: white;
}

.botao-download:hover {
  background-color: #002970;
  transition: .4s;
}

.botao-fechar {
  background-color: #e74c3c;
  color: white;
}

.botao-fechar:hover {
  background-color: #8d2014;
  transition: .4s;
}

.fechar {
  float: right;
  font-size: 24px;
  cursor: pointer;
  color: #95a5a6;
  transition: color 0.3s;
}

/* Responsividade */
@media (max-width: 768px) {
  .dados-cadastrais {
    grid-template-columns: 1fr;
  }

  .botoes-acoes {
    justify-content: center;
  }

  .botao-acao {
    width: 100%;
    justify-content: center;
  }
}

.status-ativo {
  display: inline-block;
  padding: 5px 10px;
  background-color: #2ecc71;
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-left: 10px;
}

.badge-cobertura {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(45deg, #3498db, #2c3e50);
  color: white;
  padding: 8px 20px;
  border-radius: 0 0 0 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-local {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: 0px !important;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.search-options {
  background: #e9e9e9;
  padding: 8px;
  border-bottom: 1px solid #e9ecef;
  width: 100%;
}

.search-toggle {
  display: flex;
  background: #e9e9e9;
  border-radius: 6px;
  padding: 4px;
  position: relative;
  gap: 20px;
}

.search-toggle input[type="radio"] {
  display: none;
}

.search-option {
  border: 1px solid #a7a7a7;
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0px;
}

.search-option i {
  font-size: 14px;
}

.search-option.active {
  background: #0045bf;
  color: white;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.search-input-container {
  display: flex;
  align-items: center;
  background: white;
  padding: 8px 15px;
  width: 100%;
}

.search-input-container .icon {
  color: #6c757d;
  margin-right: 10px;
  font-size: 20px;
}

.search-input-container input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 0;
  font-size: 16px;
  color: #495057;
}

.search-input-container button {
  background: #0045bf;
  color: white;
  border: none;
  padding: 5px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
  margin-left: 10px;
  white-space: nowrap;
  font-size: 17px;
}

.search-input-container button:hover {
  background: #00276b;
  transition: .4s;
}

/* Efeito de máscara para CPF */
.cpf-mask {
  letter-spacing: 1px;
}

input::placeholder {
  font-size: 15px !important;
}

.search-local button {
  height: 45px !important;
  width: 13rem !important;
}

@media (max-width: 768px) {
  .search-input-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-container button {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .modal-conteudo {
    width: 95%;
    margin: 10% auto;
    padding: 25px;
  }

  .detalhes-segurado {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}


/*//////////////////////////////////////////////////////////////////
  [ Responsive ]*/
@media (max-width: 768px) {
  .wrap-login100 {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

@media (max-width: 576px) {
  .wrap-login100 {
    padding-left: 25x;
    padding-right: 25px;
  }

  .btn-face,
  .btn-google {
    width: 100%;
  }
}