﻿

.tableverde {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

    .tableverde a {
        color: #fff;
    }

        .tableverde a:focus {
            color: coral;
        }

        .tableverde a:hover {
            color: coral;
        }

    /* Estilo para as células do cabeçalho */
    .tableverde th {
        background-color: black;
        color: white;
        padding: 5px;
        position: sticky;
        top: 0;
    }

    /* Estilo para as células das linhas ímpares (verde claro) */
    .tableverde tr:nth-child(odd) td {
        background-color: #5a8071;
        padding: 10px;
        color: #fff;
        padding: 1px 5px;
    }

    /* Estilo para as células das linhas pares (verde escuro) */
    .tableverde tr:nth-child(even) td {
        background-color: #466559;
        padding: 10px;
        color: #fff;
        padding: 1px 5px;
    }

    .tableverde tr:hover td {
        background-color: #0e822d5e; /* Cor de fundo quando o mouse estiver sobre a linha */
    }





.modalNova {
    position: fixed;
    z-index: 9999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6); /* já faz tudo: fundo escuro com transparência */
    display: flex;
    justify-content: center;
    align-items: center;
}

.centerNova {
    z-index: 10000;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.0); /* transparente */
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .centerNova img {
        height: 64px;
        width: 64px;
    }

    .centerNova label {
        color: white;
        font-weight: bold;
        font-size: 1.2rem;
    }






.btn-outline-secondary {
    border: 1px solid #198754;
    background-color: transparent;
    color: #198754;
    padding: 6px 18px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-outline-secondary:hover {
        background-color: #198754;
        color: white;
    }

.auth-box {
    border: 1px solid #0f6b2e;
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.em-construcao {
    font-size: 1.1rem;
    padding: 0px;
    text-align: center;
    font-weight: bold;
}

.conteudo-dinamico {
    flex: 1;
}

.cabecalho-unimed {
    background-color: #b1d34b;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;
}

.logo-unimed {
    height: 60px;
    max-width: 100%;
}

.titulo-texto h1,
.titulo-texto h2 {
    margin: 0;
    color: white;
    font-weight: bold;
}

.titulo-texto h1 {
    font-size: 1.8rem;
}

.titulo-texto h2 {
    font-size: 1.3rem;
    margin-top: 5px;
}

@media (max-width: 600px) {
    .cabecalho-unimed {
        flex-direction: column;
    }

    .titulo-texto {
        text-align: center;
    }
}

/* Faixa do título */
.titulo-area {
    background-color: #b1d34b;
    color: #004d26;
    text-align: center;
    padding: 30px 20px;
    font-weight: bold;
}

    .titulo-area h1 {
        margin: 0;
        font-size: 2rem;
    }

/* Quadro centralizado */
.quadro-central {
    background-color: white;
    margin: 10px auto;
    max-width: 1100px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

/* Conteúdo dentro do quadro */
.conteudo-autoatendimento {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
}

/* Menu lateral */
.menu-lateral {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px;
}

.menu-btn {
    background-color: #0a5f55;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background-color 0.3s ease;
}

    .menu-btn:hover {
        background-color: #245c1f;
    }

    .menu-btn.ativo {
        background-color: #b1d34b;
        color: #333;
    }

/* Grid QR Codes */
.qr-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    padding: 10px;
    justify-items: center;
    flex: 1;
}

.qr-item img {
    width: 100px;
    height: 100px;
}

.qr-label {
    margin-top: 8px;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

@font-face {
  font-family: 'UnimedSans';
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'UnimedSans';
  font-weight: 600;
  font-style: italic;
}
body {
    margin: 0;
    font-family: 'UnimedSans', Arial, sans-serif;
    background: #0a5f55;
    color: #003b2c;
    overflow-x: hidden;
}
html {
  overflow-x: hidden;
}
.top-image {
  width: 100%;
  aspect-ratio: 1920 / 440;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  padding: 0;
  margin: 0;
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}
.main-bg {
  background: #0a5f55;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
.main-content {
  background: transparent;
  /*padding: 48px 0 0 0;*/
  text-align: left;
}
.main-content h1 {
  color: #fff;
  font-size: 2.4em;
  margin: 0 0 18px 0;
  font-weight: bold;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
.main-content p {
  color: #fff;
  font-size: 1.15em;
  margin: 0 0 48px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.form-area {
  width: 100vw;
  background: #fff;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}
.form-section {
  background: #fff;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  padding: 36px 0 32px 0;
  position: relative;
  z-index: 2;
}
.form-section h2 {
  color: #18443c;
  font-size: 2.1em;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-align: left;
  text-transform: uppercase;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-group {
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
  color: #003b2c;
}
.form-group input {
  width: 100%;
  padding: 14px 10px;
  border: 3.5px solid #00995d;
  border-radius: 8px;
  font-size: 1.15em;
  outline: none;
  margin-bottom: 4px;
  background: #f5f5f5;
  box-sizing: border-box;
}
.form-group input:focus {
  border-color: #007a4d;
  box-shadow: 0 0 0 2px #c7e87a55;
}
.privacy {
  font-size: 1em;
  color: #666;
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.whatsapp-block {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00995d;
    padding: 56px 0;
    gap: 32px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #00995d;
    font-size: 2.1em;
    font-weight: bold;
    border: none;
    border-radius: 16px;
    padding: 18px 38px;
    box-shadow: 0 8px 32px 0 #000000cc, 0 2px 8px 0 #00000066;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: box-shadow 0.2s, transform 0.1s;
    font-family: 'UnimedSans', Arial, sans-serif;
    font-style: italic;
}

    .whatsapp-btn:hover {
        box-shadow: 0 12px 40px #18443c44, 0 16px 40px #18443c22;
    }

    .whatsapp-btn:active {
        transform: scale(0.97);
    }

.icon-inside {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    pointer-events: none;
}

.online-btn-section {
  background: #0a3d3b;
  padding: 56px 0 56px 0;
  text-align: center;
}
.online-btn {
  background: #c7e87a;
  color: #0a3d3b;
  font-size: 1.5em;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  padding: 24px 0;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  cursor: pointer;
  box-shadow: 0 8px 32px 0 #000000cc, 0 2px 8px 0 #00000066;
  transition: background 0.2s;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'UnimedSans', Arial, sans-serif;
  font-style: italic;
}
.online-btn:hover {
  background: #b2d96a;
}
@media (max-width: 800px) {
  .form-section {
    padding: 24px 0;
  }
  .main-content h1, .main-content p {
    padding-left: 4%;
  }
  .whatsapp-block {
    flex-direction: column;
    gap: 18px;
  }
  .online-btn {
    width: 100vw;
    font-size: 1.1em;
  }
}
@media (max-width: 600px) {
  .main-content, .form-section, .form-group, .main-content h1, .main-content p, .form-section h2, .privacy {
    /*padding-left: 6vw !important;
    padding-right: 6vw !important;*/
    box-sizing: border-box;
    text-align: left !important;
  }
  .form-group label {
    text-align: left !important;
    display: block;
    margin-bottom: 2px;
    font-size: 1em;
  }
  .top-image {
    aspect-ratio: unset;
    height: 140px;
    min-height: 100px;
    max-height: 180px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }
  .hero-img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    min-height: 100px;
    max-height: 180px;
    display: block;
  }
  .whatsapp-block {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 12px 0 12px 0;
  }
  .whatsapp-btn,
  .online-btn {
    min-height: 48px;
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
  }
  .whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    font-size: 0.98em;
    padding: 10px 18px;
    border-radius: 8px;
    margin: 0;
    box-shadow: 0 4px 12px 0 #00000033;
    background: #fff;
    color: #00995d;
    font-weight: bold;
    text-transform: uppercase;
    gap: 4px;
  }
  .whatsapp-icon {
    width: 22px;
    height: 22px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }
  .whatsapp-icon img {
    width: 22px;
    height: 22px;
    display: block;
    background: transparent;
  }
  .online-btn-section {
    padding: 10px 0 16px 0;
  }
  .online-btn {
    width: 100%;
    max-width: 300px;
    font-size: 0.98em;
    padding: 12px 18px;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 6px 18px 0 #00000099;
    display: block;
  }
}


/* ===========================
   Botões compactos / Ações
   =========================== */

/* Base genérica */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    background: #e9f7f1; /* leve verdinho neutro */
    color: #0a3d3b;
    transition: background-color .2s, box-shadow .2s, transform .05s;
    text-decoration: none;
    line-height: 1.2;
}

    .btn:hover {
        box-shadow: 0 2px 8px #00000022;
    }

    .btn:active {
        transform: translateY(1px);
    }

    .btn:focus-visible {
        outline: 3px solid #c7e87a55;
        outline-offset: 2px;
    }

/* Tamanhos */
.btn-sm {
    padding: 6px 10px;
    font-size: .95rem;
}

/* Sucesso (preenchido) – usa teu verde */
.btn-success {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

    .btn-success:hover {
        background: #157347;
        border-color: #157347;
    }

/* Variante contornada (harmonizada) */
.btn-outline-secondary {
    border: 1px solid #198754;
    background: transparent;
    color: #198754;
    padding: 6px 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: background-color .2s, color .2s, box-shadow .2s;
}

    .btn-outline-secondary:hover {
        background: #198754;
        color: #fff;
    }

/* Ícone/emoji à esquerda com espaçamento controlado */
.btn .icon-left {
    margin-right: .4rem;
}

/* Estado desabilitado */
.btn[disabled], .btn:disabled {
    opacity: .6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Utilitário de margem (caso não use Bootstrap) */
.mt-2 {
    margin-top: .5rem;
}

/* Respeito a prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}
