@font-face {
    font-family: "Vocago", sans-serif;
    src: url(../fonts/Vocago.otf);
}

@font-face {
    font-family: "Opencare";
    src: url(..//fonts/Opencare.ttf);
}

.cabecalho {
  height: 135px;
  /* background-color: #61735B; */
  z-index: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 350px;
}

.logo .titulo {
  font-size: 20px;
  font-weight: 800;
  transition: .3s ease-in-out;
  color: #c3c3c3;
  font-family: "Vocago", sans-serif;
}

.logo .imagem {
  width: 100px;
}

.container-nav {
  margin-top: -30px;
  position: relative;
}

.navegacao {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #c3c3c3;
  border-radius: 14px;
  max-width: 1400px;
  margin-left: 273px;
  padding: 25px;
  z-index: 1;
  position: relative;
}

.navegacao .menu {
  display: flex;
  gap: 100px;
  align-items: center;
  margin-left: 350px;
  z-index: 99;
}

.navegacao .menu .item {

  transition: .5s ease-in-out;
  color: #3D4739;
}

.navegacao .menu .item:hover {
  text-decoration: underline;
}

/* RELÓGIO */
.cabecalho .dia {
  display: flex;
  font-size: 14px;
  /* margin-left: 200px; */
  color: #c3c3c3;
  border-left: 1px solid #c3c3c3;
  padding-left: 15px;
  max-width: 1400px;
  margin-right: 370px;
}

.cabecalho .relogio {
  width: 30px;
  height: 30px;
  margin-left: 840px;
}

/* ================================= */
/* ===== ESTILOS DO NOVO PAINEL DE LOGIN ===== */
/* ================================= */

/* Wrapper para centralizar o painel na tela */
.container-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    /* Espaçamento acima e abaixo */
    min-height: 700px;
    /* Altura mínima para comportar o painel */
}

.container-login {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    overflow: hidden;
    /* Isso é crucial para a animação */
    width: 768px;
    max-width: 100%;
    min-height: 580px;
    /* Altura do painel */
    font-family: 'Arial', sans-serif;
    /* Fonte mais limpa para o formulário */
}

h1 {
    font-weight: bold;
    margin: 0;
    color: #333;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

/* Botões principais (Sign In / Sign Up) */
button {
    border-radius: 20px;
    border: 1px solid #61735B;
    /* Cor verde do seu site */
    background-color: #61735B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

button:active {
    transform: scale(0.95);
}

button:focus {
    outline: none;
}

/* Botão "fantasma" (do overlay verde) */
button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

input,
select {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
    box-sizing: border-box;
    /* Importante */
}

/* Container dos campos de data */
.data-nascimento {
    display: flex;
    gap: 10px;
    width: 100%;
}

.data-nascimento .opcoes {
    width: 33.3%;
    margin: 12;
}

.data-label {
    font-size: 12px;
    margin-top: 10px;
    align-self: flex-start;
}


/* Os containers de formulário (Sign In e Sign Up) */
.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

/* --- A MÁGICA DA ANIMAÇÃO --- */

/* O container do overlay (painel verde) */
.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    /* Começa na metade */
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.overlay {
    background: #61735B;
    /* Cor verde do seu site */
    background: -webkit-linear-gradient(to right, #768a70, #61735B);
    background: linear-gradient(to right, #768a70, #61735B);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    /* O dobro da largura para deslizar */
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    /* Metade do overlay */
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}


/* Movimentação quando 'right-panel-active' é adicionada */

/* Move o Sign In para a esquerda (para fora) */
.container-login.right-panel-active .sign-in-container {
    transform: translateX(100%);
}

/* Traz o Sign Up para a vista */
.container-login.right-panel-active .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

/* Move o Overlay para a esquerda */
.container-login.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

/* Move o conteúdo do Overlay para a direita */
.container-login.right-panel-active .overlay {
    transform: translateX(50%);
}

.container-login.right-panel-active .overlay-left {
    transform: translateX(0);
}

.container-login.right-panel-active .overlay-right {
    transform: translateX(20%);
}

@keyframes show {

    0%,
    49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%,
    100% {
        opacity: 1;
        z-index: 5;
    }
}


/* ================================= */
/* ===== ESTILOS DO MODAL E RODAPÉ ===== */
/* ================================= */

/* ATUALIZADO: Modal universal (Info e Confirmação) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.modal-overlay.visible {
    /* Classe 'visible' para animação */
    opacity: 1;
    visibility: visible;
}

.modal-conteudo {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.visible .modal-conteudo {
    transform: scale(1);
}

.modal-conteudo h3 {
    margin-top: 0;
    color: #3D4739;
    font-family: "Vocago", sans-serif;
}

.modal-conteudo p {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
}

/* Botão padrão (usado para "Fechar" e os botões "Sim/Não") */
.btn-modal-agendar {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3D4739;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
    width: 100%;
    /* Ocupa a largura total por padrão */
}

.btn-modal-agendar:hover:not(:disabled) {
    background-color: #2c332a;
}

/* Container dos botões Sim/Não */
.modal-botoes-confirmacao {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.modal-botoes-confirmacao .btn-modal-agendar {
    flex: 1;
    /* Divide o espaço */
    width: auto;
    margin: 0;
}

.modal-botoes-confirmacao .btn-nao {
    background-color: #aaa;
    color: #fff;
}

.modal-botoes-confirmacao .btn-nao:hover {
    background-color: #888;
}


/* Rodapé */
.rodape {
    background-color: #c3c3c3;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.rodape .redes-socias {
    display: flex;
    gap: 20px;
}

.rodape .fale-conosco {
    font-family: "Vocago", sans-serif;
    color: #3D4739;
    border-bottom: 2px solid #3D4739
}

.rodape .redes-socias .icon {
    display: flex;
    width: 90px;
    height: 30px;
}

/* ================================= */
/* ===== ESTILOS DO PAINEL DE USUÁRIO ===== */
/* ================================= */

.container-usuario-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    min-height: 700px;
    font-family: 'Arial', sans-serif;
}

.painel-usuario {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    padding: 40px 50px;
    width: 900px;
    /* LARGURA AUMENTADA */
    max-width: 90%;
    min-height: 580px;
    /* Mesma altura do painel de login */
    display: flex;
    flex-direction: row;
    /* Lado a lado */
    align-items: flex-start;
    /* Alinha ao topo */
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
    color: #333;
}

/* COLUNA DA ESQUERDA (INFORMAÇÕES) */
.painel-usuario-info {
    flex-basis: 40%;
    /* Largura da coluna */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centraliza o conteúdo da coluna */
    width: 100%;
}

.painel-usuario-info h1 {
    font-family: "Vocago", sans-serif;
    color: #3D4739;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 20px;
}

.painel-usuario-info p {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.painel-usuario-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 450px;
}

.painel-usuario-info ul li {
    background-color: #eee;
    border-radius: 5px;
    padding: 14px 20px;
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 25px;
}

.painel-usuario-info ul li span {
    font-size: 14px;
    color: #333;
    text-align: right;
}

.painel-usuario-info .btn-logout {
    border-radius: 20px;
    border: 1px solid #ac3232;
    /* Cor vermelha para "sair" */
    background-color: #c94a4a;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin-top: 30px;
}

.painel-usuario-info .btn-logout:hover {
    background-color: #ac3232;
    border-color: #ac3232;
    transform: scale(1.05);
}

.painel-usuario-info .btn-logout:active {
    transform: scale(1);
}

/* COLUNA DA DIREITA (AGENDAMENTOS) */
.painel-usuario-agendamentos {
    flex-basis: 60%;
    /* Largura da coluna */
    border-left: 1px solid #eee;
    padding-left: 40px;
    height: 100%;
    min-height: 480px;
    box-sizing: border-box;
}

.painel-usuario-agendamentos h2 {
    font-family: "Vocago", sans-serif;
    color: #3D4739;
    text-align: center;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 25px;
}

#lista-agendamentos {
    overflow-y: auto;
    max-height: 420px;
    /* Para permitir scroll */
    padding-right: 10px;
}

.sem-agendamentos {
    color: #777;
    text-align: center;
    font-style: italic;
    font-size: 15px;
    margin-top: 30px;
}

/* CARD DE AGENDAMENTO INDIVIDUAL */
.agendamento-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.agendamento-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.agendamento-card-info {
    flex-grow: 1;
}

.agendamento-card-info h4 {
    font-family: "Vocago", sans-serif;
    color: #3D4739;
    font-size: 1.1em;
    margin: 0 0 5px 0;
}

.agendamento-card-info p {
    font-size: 14px;
    color: #555;
    margin: 3px 0;
    line-height: 1.4;
    font-weight: normal;
}

.agendamento-card-info p strong {
    color: #333;
}

.agendamento-card-preco {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-left: 10px;
    white-space: nowrap;
}

.agendamento-card-cancelar {
    background: none;
    border: none;
    color: #c94a4a;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    bottom: 10px;
    right: 15px;
    text-decoration: underline;
    /* Reset de botão */
    padding: 0;
    text-transform: lowercase;
    letter-spacing: 0;
}

.agendamento-card-cancelar:hover {
    color: #ac3232;
}


/* ====================================================== */
/* === ESTILOS DO MENU HAMBURGUER (MOBILE) === */
/* ====================================================== */

/* Oculta controles de menu em desktop */
.menu-toggle,
.menu-close {
    display: none;
    cursor: pointer;
}

/* O overlay (fundo escuro) */
.menu-overlay {
    display: none;
    /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    /* Abaixo do menu, acima do conteúdo */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.menu-overlay.open {
    display: block;
    opacity: 1;
}

/* --- Media Query para Mobile (800px) --- */
@media (max-width: 800px) {

    /* ============================================= */
    /* === AJUSTES DO MENU HAMBÚRGUER === */
    /* ============================================= */

    .cabecalho {
    display: flex;
    margin-left: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
  }

  .logo {
    margin-left: 0;
  }

  .cabecalho .navegacao .menu {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-left: 0px;
}

  .cabecalho .relogio,
  .cabecalho .dia {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 2.5rem;
    color: #c3c3c3;
    z-index: 1001;
    padding: 10px;
    
  }

  .container-nav {
    margin-top: 0;
    position: static;
  }

    .navegacao {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #c3c3c3;
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    border-radius: 0;
    max-width: 280px;
    margin-left: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    
  }

  

  .navegacao.open {
    right: 0;
  }

  .menu-close {
    display: block;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 3rem;
    color: #555;
  }

 /* Estiliza os links do menu (vertical) */
  .navegacao .menu {
    display: flex;
    flex-direction: column;
    align-items: center; /* <<< MUDADO DE 'flex-start' PARA 'center' */
    gap: 25px;
    margin-left: 0;
    margin-top: 50px;
    width: 100%;
  }

  .navegacao .menu .item {
    font-size: 1.2rem;
    color: #3D4739;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
    width: auto;
  }

  .menu-overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }

  .menu-overlay.open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

    /* ============================================= */
    /* === AJUSTES DE RESPONSIVIDADE (CADASTRO.HTML) === */
    /* ============================================= */

    .logo .imagem {
        width: 80px;
        /* Logo menor */
    }

    /* Ajuste dos Wrappers */
    .container-login-wrapper,
    .container-usuario-wrapper {
        padding: 30px 15px;
        /* Adiciona padding lateral, reduz vertical */
        min-height: auto;
        /* Altura automática */
    }

    /* ============================================= */
    /* === INÍCIO DAS REGRAS (PAINEL LOGIN MOBILE) === */
    /* ============================================= */

    /* Ajuste do Painel de Login */
    .container-login {
        min-height: auto;
        /* Altura automática */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        /* Sombra mais suave */
        width: 100%;
        /* Garante que ocupe a largura do wrapper */
    }

    /* Oculta o overlay deslizante em telas pequenas */
    .overlay-container {
        display: none;
    }

    /* Ajusta os containers de formulário (Login e Cadastro) */
    .form-container {
        position: relative;
        /* Remove o 'absolute' */
        width: 100%;
        min-height: auto;
        /* Altura automática */
        /* Reseta as transformações da animação de desktop */
        transform: none !important;
        left: 0 !important;
    }

    /* Garante que o de cadastro seja visível (já que o overlay sumiu) */
    .sign-up-container {
        opacity: 1;
        z-index: 1;
        padding-top: 40px;
        /* Adiciona espaçamento */
    }

    /* O de login já está visível por padrão (z-index: 2) */
    .sign-in-container {
        z-index: 2;
        /* Adiciona uma borda para separar os dois formulários */
        border-bottom: 1px solid #eee;
        padding-bottom: 40px;
    }

    /* Reseta as animações do JS que não fazem mais sentido */
    .container-login.right-panel-active .sign-in-container,
    .container-login.right-panel-active .sign-up-container {
        transform: none;
    }

    /* ============================================= */
    /* === FIM DAS REGRAS (PAINEL LOGIN MOBILE) === */
    /* ============================================= */


    /* Ajuste do formulário de data */
    .data-nascimento {
        flex-direction: column;
        /* Empilha os seletores de data */
        gap: 0;
        margin: 8px 0;
    }

    .data-nascimento .opcoes {
        width: 100%;
        /* Largura total */
        margin: 4px 0;
        /* Espaçamento entre eles */
    }

    form {
        padding: 0 25px;
        /* Reduz padding lateral do form */
    }

    /* Ajuste do Painel de Usuário */
    .painel-usuario {
        flex-direction: column;
        /* Empilha as colunas */
        width: 100%;
        max-width: 100%;
        padding: 20px;
        gap: 20px;
        min-height: auto;
    }

    .painel-usuario-info {
        flex-basis: auto;
        /* Reseta a base */
        width: 100%;
    }

    .painel-usuario-agendamentos {
        flex-basis: auto;
        /* Reseta a base */
        width: 100%;
        border-left: none;
        /* Remove borda lateral */
        padding-left: 0;
        min-height: auto;
        border-top: 1px solid #eee;
        /* Adiciona borda superior */
        padding-top: 25px;
        margin-top: 20px;
    }

    .painel-usuario-agendamentos h2 {
        font-size: 1.6em;
        /* Reduz fonte */
        margin-bottom: 20px;
    }

    #lista-agendamentos {
        max-height: 350px;
        /* Altura máxima menor */
    }

    /* Ajuste do Card de Agendamento */
    .agendamento-card {
        flex-direction: column;
        /* Empilha o conteúdo do card */
        align-items: center;
        /* Centraliza */
        text-align: center;
    }

    .agendamento-card img {
        width: 100px;
        /* Imagem um pouco maior */
        height: 100px;
    }

    .agendamento-card-info h4 {
        font-size: 1.2em;
    }

    .agendamento-card-info p {
        font-size: 15px;
    }

    .agendamento-card-preco {
        position: static;
        /* Tira do canto */
        margin-left: 0;
        margin-top: 10px;
        font-size: 1.1em;
    }

    .agendamento-card-cancelar {
        position: static;
        /* Tira do canto */
        margin-top: 15px;
        padding: 8px;
        width: 100%;
        max-width: 200px;
        /* Limita a largura */
        background: #f1f1f1;
        border-radius: 5px;
        text-decoration: none;
        font-size: 13px;
    }

    /* Ajuste do modal */
    .modal-conteudo {
        width: 95%;
        padding: 20px;
    }
}