/* Estilos para la superposición (overlay) */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    text-align: center;
    overflow: auto;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(146, 145, 145, 0.9);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 90%; /* Ajusta según tus necesidades */
    width: 300px; /* Ancho máximo del contenido */
}

h2 {
    color: #fff;
    font-weight: 500;
}

p {
    color: #555;
    padding-bottom: 20px;
}

/* Estilos para ocultar elementos */
.hidden {
    display: none;
}

#container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#birthdate {
    width: 90%; /* Ocupar todo el ancho disponible */
    padding: 10px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

#verify-button,
#exit-button {
    background-color: #dea332 !important;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    width: auto; /* Ancho automático según el contenido */
    display: inline-block; /* Para que no ocupe el ancho completo */
}

#verify-button:hover,
#exit-button:hover {
    background-color: #c28e2e;
}