@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #07c226;
    --primary-hover: #1b5e20;
    --bg-color: #f4f4f9;
    --text-color: #333;
    --border-color: #ccc;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background: white;
    padding: 2rem; 
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%; 
    max-width: 400px; 
    box-sizing: border-box;
}

.container-login { 
    max-width: 350px; 
    text-align: center; 
}

.container-cadastro { 
    max-width: 480px;
}

h2 {
    font-size: 1.2rem;
    color: var(--primary-hover);
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

input:not([type="file"]):not([type="checkbox"]), select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

input:not([type="file"]):focus, select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 5px rgba(7, 194, 38, 0.2);
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

button {
    padding: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-principal {
    width: 100%;
    margin-top: 20px;
}

.btn-secundario {
    background-color: white;
    color: var(--primary-color);
}
.btn-secundario:hover {
    background-color: #f0fdf4;
    color: var(--primary-hover);
}

.container-login h2 { border-bottom: none; } 

.botoes-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.botoes-container button {
    flex: 1; 
}

a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
a:hover { text-decoration: underline; }

.input-group {
    display: flex;
    gap: 15px;
}
.input-group input {
    flex: 1;
    margin: 8px 0;
}

.container-agenda {
    max-width: 450px;
}


.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
    text-align: left;
}


.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-color);
    user-select: none; 
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
}


.checkbox-label:hover input[type="checkbox"] {
    border-color: var(--primary-color);
}


.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.menu-inferior {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: row !important; 
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.03);
    z-index: 1000;
}

.menu-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0 !important; 
    padding: 5px;
    width: auto;
}

.menu-item svg {
    width: 24px !important; 
    height: 24px !important; 
    min-width: 24px;
    min-height: 24px;
    margin-bottom: 4px;
    fill: none;
    stroke: var(--text-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
    display: block;
}

.menu-item:hover,
.menu-item.ativo {
    color: var(--primary-color);
    text-decoration: none;
}

.menu-item:hover svg,
.menu-item.ativo svg {
    stroke: var(--primary-color);
}

.card-horario {
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 15px;
margin-bottom: 12px;
background-color: white;
display: flex;
justify-content: space-between;
align-items: center;
}

.info-horario h4 {
margin: 0 0 5px 0;
color: var(--primary-hover);
font-size: 1rem;
}

.info-horario p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
}
        
.data-destaque {
font-weight: 600;
color: var(--text-color);
}
        
.btn-agendar {
background-color: var(--primary-color);
color: white;
border: none;
padding: 8px 15px;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
font-size: 0.85rem;
text-decoration: none;
transition: 0.3s;
}
        
.btn-agendar:hover {
background-color: var(--primary-hover);
}

.resumo-box {
background-color: #f9f9f9;
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 20px;
margin-top: 15px;
margin-bottom: 25px;
text-align: left;
}
        
.resumo-box p {
margin: 8px 0;
color: #555;
font-size: 0.95rem;
}
        
.resumo-box strong {
color: var(--text-color);
}
        
.valor-destaque {
font-size: 1.2rem !important;
color: var(--primary-hover) !important;
margin-top: 15px !important;
border-top: 1px solid #ddd;
padding-top: 10px;
}

.btn-cancelar {
background-color: transparent;
color: #dc3545; /* Vermelho para indicar alerta */
border: 1px solid #dc3545;
padding: 8px 12px;
border-radius: 6px;
font-size: 0.85rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
margin-top: 10px;
}

.btn-cancelar:hover {
background-color: #dc3545;
color: white;
}

.perfil-card {
text-align: center;
padding: 20px;
}
        
.avatar {
width: 80px;
height: 80px;
background-color: var(--primary-color);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2rem;
margin: 0 auto 20px auto;
font-weight: bold;
}
        
.info-perfil {
 margin-bottom: 30px;
text-align: left;
background: #f9f9f9;
padding: 15px;
border-radius: 8px;
border: 1px solid var(--border-color);
}
        
.info-perfil p {
 margin: 10px 0;
 color: var(--text-color);
}
        
.btn-sair {
background-color: transparent;
color: #dc3545;
border: 1px solid #dc3545;
width: 100%;
padding: 12px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
   
.btn-sair:hover {
 background-color: #dc3545;
 color: white;
}

.btn-whatsapp {
    display: block;
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}
 
.btn-whatsapp:hover {
    background-color: #1da851;
    text-decoration: none;
}

@media (max-width: 500px) {
    .container { padding: 1.5rem; }
    
    .botoes-container {
        flex-direction: column;
        gap: 12px;
    }
    .botoes-container button { width: 100%; }

    .input-group {
        flex-direction: column;
        gap: 0;
    }
    .input-group input { margin: 5px 0; }
}